Funciona: - Usuario - Empresa git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@2 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
16 lines
455 B
PHP
16 lines
455 B
PHP
<?php
|
|
|
|
// set environment
|
|
require_once(dirname(__FILE__) . '/protected/config/Environment.php');
|
|
//$env = new Environment();
|
|
$env = new Environment('DEVELOPMENT'); //override
|
|
|
|
// set debug and trace level
|
|
defined('YII_DEBUG') or define('YII_DEBUG', $env->getDebug());
|
|
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', $env->getTraceLevel());
|
|
|
|
// run Yii app
|
|
require_once($env->getYiiPath());
|
|
Yii::createWebApplication($env->getConfig())->run();
|
|
|
|
?>
|