0
我剛開始學習Zend Framework 1.12.9。我無法理解如何使用application.ini文件。所以,我的問題是更容易理解,我舉一個例子:application.ini - 它是如何工作的
`; application/configs/application.ini
[production]
; PHP settings we want to initialize
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
includePaths.library = APPLICATION_PATH "/../library"
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
appnamespace = "Application"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
[staging : production]
[testing : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1`
所以,這是非標準例如然後你開始學習的Zend。所以我無法理解這個文件的語法以及路由是如何做的。
`resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.params.displayExceptions = 0
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"`
這意味着這行嗎? Mybe有人可以給一些好的totorial的鏈接,請...我會很感激。 提前謝謝!