2 define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application/'));
4 APPLICATION_PATH . '/../library'
5 . PATH_SEPARATOR . get_include_path()
16 require_once "Zend/Loader.php";
17 Zend_Loader::registerAutoload();
21 require '../application/bootstrap.php';
23 catch(Exception $exception)
25 echo '<html><body><center>'
26 . 'An exception occured while bootstrapping the application.';
27 if(defined('APPLICATION_ENVIRONMENT')
28 && APPLICATION_ENVIRONMENT != 'production'
30 echo '<br /><br />' . $exception->getMessage() . '<br />'
31 . '<div align="left">Stack Trace:'
32 . '<pre>' . $exception->getTraceAsString() . '</pre></div>';
34 echo '</center><body></html>';
38 Zend_Controller_Front::getInstance()->dispatch();