index.php 325 B

1234567891011
  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 line when in production mode
  6. defined('YII_DEBUG') or define('YII_DEBUG',true);
  7. require_once($yii);
  8. Yii::createWebApplication($config)->run();