|
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 used. Example #1 An array of yaf configuration example
<?php Example #2 an ini file of yaf configuration example [yaf] yaf.directory = APPLICATION_PATH "/appliation" yaf.dispatcher.catchException = 0 [product : yaf] ; user configuration list here
Here's a short explanation of the configuration directives.
|