index.php 459 B

12345678910111213
  1. <?php
  2. // change the following paths if necessary
  3. $yii=dirname(__FILE__).'/../framework/yii.php';
  4. $config=dirname(__FILE__).'/protected/config/main.php';
  5. // remove the following lines when in production mode
  6. defined('YII_DEBUG') or define('YII_DEBUG',true);
  7. // specify how many levels of call stack should be shown in each log message
  8. defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
  9. require_once($yii);
  10. Yii::createWebApplication($config)->run();