Skip to content

Commit

Permalink
comment the debug
Browse files Browse the repository at this point in the history
  • Loading branch information
funson86 committed Aug 11, 2014
1 parent 8e71d93 commit 561594a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

// change the following paths if necessary
$yii=dirname(__FILE__).'/framework/yii.php';
$config=dirname(__FILE__).'/protected/config/main.php';

// remove the following lines when in production mode
//defined('YII_DEBUG') or define('YII_DEBUG',true);
// specify how many levels of call stack should be shown in each log message
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);

require_once($yii);
Yii::createWebApplication($config)->run();

0 comments on commit 561594a

Please sign in to comment.