index-test.php 462 B

123456789101112131415
  1. <?php
  2. /**
  3. * This is the bootstrap file for test application.
  4. * This file should be removed when the application is deployed for production.
  5. */
  6. // change the following paths if necessary
  7. $yii=dirname(__FILE__).'/../framework/yii.php';
  8. $config=dirname(__FILE__).'/protected/config/test.php';
  9. // remove the following line when in production mode
  10. defined('YII_DEBUG') or define('YII_DEBUG',true);
  11. require_once($yii);
  12. Yii::createWebApplication($config)->run();