diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:11:05 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-04-13 23:11:05 +0200 |
| commit | 341cc4dd9c53ffbfb863e026dd58549c1082c7a7 (patch) | |
| tree | 1bbbed20313bafb9b063b6b4d894fe580d8b000f /framework/cli/views/webapp/index-test.php | |
Diffstat (limited to 'framework/cli/views/webapp/index-test.php')
| -rw-r--r-- | framework/cli/views/webapp/index-test.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/framework/cli/views/webapp/index-test.php b/framework/cli/views/webapp/index-test.php new file mode 100644 index 0000000..c6d5a04 --- /dev/null +++ b/framework/cli/views/webapp/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__).'/../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(); |
