Wiki

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

Setting static modules' properties in config

Created 8 months ago by Alexander PalamarchukTips0 comments – viewed 2,924 times – ( +2 / -2 )
You may face a situation when you need to access to a configurable module's property from everywhere and you don't have an instance of this module's class.
tags: config, module

Making friends' configs, DB credentials and paths with version control

Created 8 months ago by Alexander PalamarchukTips1 comment – viewed 2,871 times – ( +2 / -1 )
In many cases developers of one project use their own local environments for coding. There may be a common test platform and, of course, production. All these environments usually have different DB credentials and directory structures (first of all, path to YII framework directory). Another feature is debugging. It's convenient to turn it on for local environments, eventually - on the test server and never (generally speaking) - on the production.
tags: config