mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-08 00:56:52 +01:00
12 lines
329 B
PHP
12 lines
329 B
PHP
<?php
|
|
|
|
// change the following paths if necessary
|
|
$yiiFramework='{YiiPath}';
|
|
$configFile=dirname(__FILE__).'/protected/config/main.php';
|
|
|
|
// remove the following line when in production mode
|
|
defined('YII_DEBUG') or define('YII_DEBUG',true);
|
|
|
|
require_once($yiiFramework);
|
|
Yii::createWebApplication($configFile)->run();
|