diff --git a/htdocs/index.php b/htdocs/index.php index 8bb333d3..b018c4c6 100755 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -5,7 +5,8 @@ date_default_timezone_set('Asia/Shanghai'); // directory setup and class loading set_include_path('.' . PATH_SEPARATOR . '../include/' - . PATH_SEPARATOR . '../application/models' + . PATH_SEPARATOR . '../application/models' + . PATH_SEPARATOR . '/var/www/xining.westgis.ac.cn/include/' . PATH_SEPARATOR . '../application/default/controllers' . PATH_SEPARATOR . get_include_path()); //include "Zend/Loader.php"; @@ -32,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',