View Single Post
  #3 (permalink)  
Old 03-12-2008, 02:23 PM
xentek's Avatar
xentek xentek is offline
Senior Member
 
Join Date: Feb 2008
Posts: 112
Default

Your view scripts should be stored in a folder scheme similiar to this:

....../view/scripts/controller/action.phtml

But instead of loading each controller individually, Why not use the Auto Loader?

PHP Code:
    // Register the autoloader
    
require_once 'Zend/Loader.php';
    
Zend_Loader::registerAutoload(); 
More info here: Zend Framework: Documentation: Zend_Loader
__________________
- xentek
Reply With Quote