- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
Latest commit
13 lines (10 loc) · 456 Bytes
/
Copy pathindex.php
File metadata and controls
13 lines (10 loc) · 456 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
// change the following paths if necessary
$yii=dirname(__FILE__).'/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/prod.php';
// remove the following lines when in production mode
defined('YII_DEBUG') ordefine('YII_DEBUG',true);
// specify how many levels of call stack should be shown in each log message
defined('YII_TRACE_LEVEL') ordefine('YII_TRACE_LEVEL',3);
require_once($yii);
Yii::createWebApplication($config)->run();