linccce

yii1.1.15 composer index

Jul 2nd, 2014
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <?php
  2.  
  3. // change the following paths if necessary
  4. $yii=dirname(__FILE__).'/protected/vendor/yiisoft/yii/framework/yii.php';
  5. $config=dirname(__FILE__).'/protected/config/main.php';
  6.  
  7. // remove the following lines when in production mode
  8. defined('YII_DEBUG') or define('YII_DEBUG',true);
  9. // specify how many levels of call stack should be shown in each log message
  10. defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
  11. require_once($yii);
  12. Yii::createWebApplication($config)->run();
Advertisement
Add Comment
Please, Sign In to add comment