I want to use different configuration file for my development and production server. I want to define different database configuration for each server and different logging procedure.
So when I run on my server I just change the index.php file.
Development:
// developement
$config=dirname(__FILE__).'/protected/config/development.php';
// production
// $config=dirname(__FILE__).'/protected/config/production.php';
Production:
// developement
// $config=dirname(__FILE__).'/protected/config/development.php';
// production
$config=dirname(__FILE__).'/protected/config/production.php';