12 ini_set(
'display_errors',
true);
14 error_reporting(E_ALL);
16 date_default_timezone_set(
'Europe/Vienna');
19 $yii = dirname(__FILE__) .
'/../../framework/yii.php';
22 defined(
'YII_DEBUG') or define('YII_DEBUG', true);
24 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
29 $config =
Configuration::build(dirname(__FILE__) . '/../config/main.php');
31 Yii::beginProfile('application');
32 Yii::createWebApplication($config)->run();
33 Yii::endProfile('application');