添加绝对路径
This commit is contained in:
parent
1669857d02
commit
ae9761baa0
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue