- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex-dev.php
More file actions
Latest commit
17 lines (14 loc) · 595 Bytes
/
Copy pathindex-dev.php
File metadata and controls
17 lines (14 loc) · 595 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
* This is the bootstrap file for test application.
* This file should be removed when the application is deployed for production.
*/
// change the following paths if necessary
$yii=dirname(__FILE__).'/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/dev.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();