15 lines
511 B
PHP
15 lines
511 B
PHP
<?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', 'dev');
|
|
|
|
require_once($yii);
|
|
Yii::createWebApplication($config)->run();
|
|
|
|
// TODO-MS Add Search (Blog + progs + log) jew auch metadata / desc ...
|