|
Application ConfigurationYou should give an array of config or an ini config file(see Yaf_Config_Ini) path to Yaf_Application::__construct(). Yaf configurations could be merged with user configurations. The difference is, Yaf configurations are prefixed with "yaf." or "application.", if there are both "yaf." and "application.", "application." will be accepcted preferentially. Пример #1 An array of yaf configuration example
<?php Пример #2 an ini file of yaf configuration example [yaf] yaf.directory = APPLICATION_PATH "/appliation" yaf.dispatcher.catchException = 0 [product : yaf] ; user configuartions list here
Краткое разъяснение конфигурационных директив.
|
||||||||||||||||||||||||||||||||||||||||||||||