3 set_include_path('library'
4 . PATH_SEPARATOR
. 'application/models'
5 . PATH_SEPARATOR
. 'plugins'
6 . PATH_SEPARATOR
. '.');
8 // Enable the auto-loading of classes that follow the ZF naming convention
9 // http://framework.zend.com/manual/en/coding-standard.naming-conventions.html
10 require 'Zend/Loader.php';
11 Zend_Loader
::registerAutoload();
13 // Load the plugins and run their bootstrap code
14 $plugins = new Pivip_Plugin();
16 foreach($plugins as $plugin)
21 // With all plugins set, start the dispatch loop
22 Zend_Controller_Front
::getInstance()->dispatch();