diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:44:38 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:44:38 +0200 |
| commit | 69bffb7fe85347621f41c0baed839452e72930e1 (patch) | |
| tree | 8446bced1732932fd741e91ff8dba88b1e56693b /index.php | |
| parent | a098922f681a9a1362202580a26b132501df4b1b (diff) | |
Erstes Yii Projekt
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/index.php b/index.php new file mode 100644 index 0000000..1b7ba1c --- /dev/null +++ b/index.php @@ -0,0 +1,13 @@ +<?php + +// change the following paths if necessary +$yii=dirname(__FILE__).'/../yii-framework/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(); |
