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-test.php | |
| parent | a098922f681a9a1362202580a26b132501df4b1b (diff) | |
Erstes Yii Projekt
Diffstat (limited to '')
| -rw-r--r-- | index-test.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/index-test.php b/index-test.php new file mode 100644 index 0000000..e017aae --- /dev/null +++ b/index-test.php @@ -0,0 +1,15 @@ +<?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__).'/../yii-framework/framework/yii.php'; +$config=dirname(__FILE__).'/protected/config/test.php'; + +// remove the following line when in production mode +defined('YII_DEBUG') or define('YII_DEBUG',true); + +require_once($yii); +Yii::createWebApplication($config)->run(); |
