Files
yii/framework/cli/views/webapp/index.php
2008-10-05 11:20:17 +00:00

12 lines
303 B
PHP

<?php
// change the following paths if necessary
$yii='{YiiPath}';
$config=dirname(__FILE__).'/protected/config/main.php';
// remove the following line when in production mode
defined('YII_DEBUG') or define('YII_DEBUG',true);
require_once($yii);
Yii::createWebApplication($config)->run();