Skip to content

Commit 561594a

Browse files
committed
comment the debug
1 parent 8e71d93 commit 561594a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

index.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
// change the following paths if necessary
4+
$yii=dirname(__FILE__).'/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+
12+
require_once($yii);
13+
Yii::createWebApplication($config)->run();

0 commit comments

Comments
 (0)