Wiki

Articles tagged with "config"X
Displaying 11-14 of 14 result(s).

Setting and getting systemwide static parameters

Created 3 years ago by Steve FriedlHow-tos3 comments – viewed 49,860 times – ( +10 ) – version 1.1
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

Moving project code outside of webroot (plus multiple project support)

Created 3 years ago by Steve FriedlHow-tos7 comments – viewed 35,289 times – ( +22 / -1 ) – version 1.1
Yii's by-default directory organization works well enough, but there are several steps one can take that improve the security and serviceability of the system, especially in the context of multiple Yii projects on the same machine (including multiple versions of the same project).
tags: config, security

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

Created 3 years ago by Steve FriedlFAQs3 comments – viewed 37,081 times – ( +7 ) – version 1.1
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

Manage application configuration in different modes

Created 4 years ago by qiangTutorials5 comments – viewed 27,385 times – ( +15 ) – version 1.1
Info: This tutorial references the idea presented in Jonah's excellent blog article.