diff --git a/htdocs/index.php b/htdocs/index.php index d0ab9da9..648f60d9 100755 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -4,9 +4,9 @@ ini_set('display_errors', 1); date_default_timezone_set('Asia/Shanghai'); // directory setup and class loading -set_include_path('.' . PATH_SEPARATOR . '../include/' - . PATH_SEPARATOR . 'D:/library' +set_include_path('.' . PATH_SEPARATOR . '/var/www/heihedata.org/include/' . PATH_SEPARATOR . '../application/models' + . PATH_SEPARATOR . '../application/module' . PATH_SEPARATOR . '../application/default/controllers' . PATH_SEPARATOR . get_include_path()); //include "Zend/Loader.php"; @@ -33,7 +33,7 @@ $registry->set('db',$db); // setup controller $frontController = Zend_Controller_Front::getInstance(); -$frontController->throwExceptions(false); +$frontController->throwExceptions(true); //$frontController->setControllerDirectory('../application/controllers'); $frontController->setControllerDirectory(array( 'default' => '../application/default/controllers', @@ -52,4 +52,4 @@ $plugin->setErrorHandlerModule('default') $frontController->registerPlugin($plugin); -$frontController->dispatch(); \ No newline at end of file +$frontController->dispatch();