/*------------------------------------------------------- * * LiveStreet Engine Social Networking * Copyright © 2008 Mzhelskiy Maxim * *-------------------------------------------------------- * * Official site: www.livestreet.ru * Contact e-mail: rus.engine@gmail.com * * GNU General Public License, version 2: * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * --------------------------------------------------------- */ error_reporting(E_ALL); ini_set('display_errors', 1); header('Content-Type: text/html; charset=utf-8'); header('X-Powered-By: LiveStreet CMS'); set_include_path(get_include_path().PATH_SEPARATOR.dirname(__FILE__)); chdir(dirname(__FILE__)); // Получаем объект конфигурации require_once("./config/loader.php"); require_once(Config::Get('path.root.engine')."/classes/Engine.class.php"); $oProfiler=ProfilerSimple::getInstance(Config::Get('path.root.server').'/logs/'.Config::Get('sys.logs.profiler_file'),Config::Get('sys.logs.profiler')); $iTimeId=$oProfiler->Start('full_time'); $oRouter=Router::getInstance(); $oRouter->Exec(); $oProfiler->Stop($iTimeId); ?>