1
0
www.mikescher.com/www/index_prod.php

13 lines
441 B
PHP
Raw Normal View History

2015-12-31 01:58:25 +01:00
<?php
// change the following paths if necessary
$yii=dirname(__FILE__).'/../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);
// dev or prod - merges settings with respective file
defined('YII_CUSTOM_ENV') or define('YII_CUSTOM_ENV', 'prod');
require_once($yii);
Yii::createWebApplication($config)->run();