Wiki

Articles tagged with "config", sorted by date (updated)X
Displaying 11-12 of 12 result(s).

"Why do I get a 403 error when trying to use Gii?"

Updated 2 years ago by Steve FriedlFAQs2 comments – viewed 23,130 times – ( +7 )
After enabling the Gii module in your protected/config/main.php file and then try to use it with http://example.com/index.php?r=gii, you get an error:
tags: Gii, config

Setting and getting systemwide static parameters

Updated 2 years ago by Steve FriedlHow-tos2 comments – viewed 28,678 times – ( +10 )
Occasionally one wishes to set systemwide parameters for an application, such as a contact address for email, an application name, or setting an option that guides major behavior. Yii provides for setting of static parameters in the configuration file, and this article talks about how to do it conveniently.
tags: config