document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <?php
  2.  
  3. // change the following paths if necessary
  4. $yii=dirname(__FILE__).\'/../yii-1.1.8/framework/yii.php\';
  5.  
  6. // remove the following lines when in production mode
  7. defined(\'YII_DEBUG\') or define(\'YII_DEBUG\',true);
  8. // specify how many levels of call stack should be shown in each log message
  9. defined(\'YII_TRACE_LEVEL\') or define(\'YII_TRACE_LEVEL\',3);
  10.  
  11. if( ! YII_DEBUG )
  12. {
  13.     $config=dirname(__FILE__).\'/protected/config/production.config.php\';
  14. }
  15. else
  16. {
  17.     error_reporting(E_ALL);
  18.     ini_set("display_errors", 1);
  19.     $config=dirname(__FILE__).\'/protected/config/development.config.php\';
  20. }
  21.  
  22. require_once($yii);
  23. Yii::createWebApplication($config)->run();
');