|
Application ConfigurationYou should give an array of config or an ini config file(see Yaf_Config_Ini) path to Yaf_Application::__construct. Yaf will merge the application configurations and user configurations automatically. The application configurations have prefix "yaf." or "application.". If both "yaf." and "application." exist, "application." will be accepted preferentially. Example #1 An PHP array example
<?php Example #2 An ini file 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.
|