Пример #1
0
	$_SESSION['murrix']['system'] = new mSystem();
	$_SESSION['murrix']['system']->LoadScripts();
}
$prof->stopTimer( "system" );

$_SESSION['murrix']['system']->transport = getSetting("TRANSPORT", 1, "ajax");

$_SESSION['murrix']['rightcache']['file'] = array();

/* ========================= */
// Process ajax-calls
if (isset($_GET['debug']))
	$_SESSION['murrix']['system']->xajax->debugOn();
else
	$_SESSION['murrix']['system']->xajax->debugOff();

$_SESSION['murrix']['system']->process();

$prof->startTimer( "pagelayout" );

include(gettpl("pagelayout"));

$prof->stopTimer( "pagelayout" );

$_SESSION['murrix']['callcache'] = array();
$_SESSION['murrix']['querycache'] = array();

if (isset($_GET['debug']))
	$prof->printTimers( true );

?>