2009-05-10 10:50:39 +03:00
|
|
|
<?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
|
|
|
|
*
|
|
|
|
---------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Подключает необходимые расширения для работы Аякса
|
|
|
|
*/
|
2009-03-21 20:08:51 +02:00
|
|
|
//error_reporting(E_ALL);
|
2008-09-21 09:36:57 +03:00
|
|
|
define('SYS_HACKER_CONSOLE',false);
|
2009-08-19 12:17:38 +03:00
|
|
|
require_once("loader.php");
|
2009-08-20 10:43:06 +03:00
|
|
|
require_once(Config::Get('path.root.engine')."/classes/Engine.class.php");
|
|
|
|
require_once(Config::Get('path.root.engine')."/lib/external/JsHttpRequest/JsHttpRequest.php");
|
2008-09-21 09:36:57 +03:00
|
|
|
$JsHttpRequest = new JsHttpRequest("UTF-8");
|
2009-08-20 10:43:06 +03:00
|
|
|
ProfilerSimple::getInstance(Config::Get('path.root.server').'/logs/profiler.log',false);
|
2008-09-21 09:36:57 +03:00
|
|
|
$oEngine=Engine::getInstance();
|
2009-07-26 16:43:16 +03:00
|
|
|
$oEngine->Init();
|
2009-05-21 17:50:55 +03:00
|
|
|
$oEngine->Security_ValidateSendForm();
|
2009-07-26 16:43:16 +03:00
|
|
|
$oEngine->Shutdown();
|
2008-09-21 09:36:57 +03:00
|
|
|
?>
|