. . .

production mode

October 8, 2010

Steps required to change project to production mode

Step 1: In config/main.php, add following element to "components" array 'cache'=>array( 'class'=>'system.caching.CApcCache', ),   Step2: In config/main.php, add following element to " components[‘db’] " array 'schemaCachingDuration' => 3600   Step 3: Comment out the following line of index.php defined('YII_DEBUG') or define('YII_DEBUG',true);   Step 4: Replace following line in index.php $yii=dirname(__FILE__).'/../yii/framework/yii.php'; […]