rendered paste body<?php/* -----------------------------------------------------------* Zend Framework Bootstrap** Handles all incoming HTTP requests (assuming mod_rewrite * has been properly configured) and initiates the appropriate* controller.** Tom Wadeson. 13/03/07.* ----------------------------------------------------------- */// Set error reporting ( _DEVELOPMENT ONLY_ ) and timezone defaulterror_reporting( E_ALL | E_STRICT );date_default_timezone_set( 'Europe/London' );// Add the Zend Framework library, application root and models directories to the include pathset_include_path( '.' . PATH_SEPARATOR . './library' . PATH_SEPARATOR . '/application/models' . PATH_SEPARATOR . get_include_path() );// Reference the Zend Frameworkinclude 'Zend.php';// Load classes:Zend::loadClass( 'Zend_View' );Zend::loadClass( 'Zend_Controller_Front' );Zend::loadClass( 'Zend_Controller_Plugin_Front' );// Load user-defined plugin classes:Zend::loadClass( 'noRouteErrorHandler' );// Setup controller$ctrl = Zend_Controller_Front::getInstance() ->setControllerDirectory( './application/controllers' ) ->throwExceptions( true ) // _DEVELOPMENT ONLY_// Register plugins: // A plugin to handle "no route" requests: 404 (Page Not Found) errors ->registerPlugin( new noRouteErrorHandler() );// Setup view and add it to the registry$view = new Zend_View() ->setScriptPath( './application/views' );// Execute controller$ctrl->dispatch();?>