1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-07 11:28:21 +03:00
ifhub.club/index.php

36 lines
1.1 KiB
PHP
Raw Normal View History

<?php
2008-09-21 09:36:57 +03:00
/*-------------------------------------------------------
*
* 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);
2008-09-21 09:36:57 +03:00
ini_set('display_errors', 1);
2008-09-21 09:36:57 +03:00
header('Content-Type: text/html; charset=utf-8');
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");
2009-07-26 16:43:16 +03:00
$oProfiler=ProfilerSimple::getInstance(Config::Get('path.root.server').'/logs/'.Config::Get('sys.logs.profiler_file'),Config::Get('sys.logs.profiler'));
2009-07-26 16:43:16 +03:00
$iTimeId=$oProfiler->Start('full_time');
2008-09-21 09:36:57 +03:00
$oRouter=Router::getInstance();
$oRouter->Exec();
2009-07-26 16:43:16 +03:00
$oProfiler->Stop($iTimeId);
?>