Difference between #1 and #2 of
Use application on production/development environment without making changes

Changes

Title unchanged

Use application on production/development environment without making changes

Category unchanged

Tips

Yii version unchanged

Tags unchanged

config, server, tips, database

Content changed

[...]
),
```

And that's all. You can work on your local machine, and then you decide to check how it looks on production server, you just upload the files and it works without any modifications.

You can change the code to better suit your needs, and if you have questions or suggestions just write me a message.

 
 
### Extra
 
 
I haven't tried it yet, but looks like there's an extension which helps you out with different environments [yii-environment extension](http://www.yiiframework.com/extension/yii-environment/ "yii-environment extension")
8 1
11 followers
Viewed: 77 495 times
Version: 1.1
Category: Tips
Written by: ifdattic
Last updated by: ifdattic
Created on: Dec 19, 2011
Last updated: 12 years ago
Update Article

Revisions

View all history