Connect (); $connectTime = microtime(true) - $time; mysql_set_charset('utf8'); $server = $_SERVER['SERVER_NAME']; $server_exp = explode ('.',$server); if (count($server_exp)==4) { $lang = $server_exp[1]; $langs = array ('nl'=>1,'be'=>2,'fr'=>3,'de'=>4,'en'=>5); $core->languageid = $langs[$lang]; } $time1 = microtime(true); $session = new Session($db->dbname); $sessionid = $session->getID(); $core->sessionid = $sessionid; $sessionTime = microtime(true) - $time1; require_once ('classes/track3.class.php'); $trackBlackList = array('/panel/', '/productsgd', '/shop/image', '/ajax'); $allowTrack = true; foreach($trackBlackList as $ignore){ if(strpos($_SERVER['REQUEST_URI'], $ignore) === 0) $allowTrack = false; } if($allowTrack){ $track3 = new Track3(); $track3->track($sessionid, $db->dbname); } if (isset($core->subdomain)) { session_set_cookie_params ( 0,'/',$core->server); } else { session_set_cookie_params ( 0,'/','.'.$core->server); } session_start (); $langs = array('nl'=>1,'be'=>2,'fr'=>3,'de'=>4,'en'=>5); foreach($langs as $key=>$languageid){ if(isset($_GET[$key])){ $_SESSION['lang'] = $languageid; header("Location: /"); } } if(!isset($core->country) || $_SESSION['lang']){ if(isset($_SESSION['lang']) && $_SESSION['lang']){ $core->languageid = $_SESSION['lang']; $core->defaultlanguageid = $_SESSION['lang']; } if($country = $core->getCountry($core->languageid, 'IdCountry')){ $core->country = $country; } } else if(is_string($core->country)){ if($country = $core->getCountry($core->country, 'TLD')){ $core->country = $country; $core->languageid = $country->IdCountry; $core->defaultlanguageid = $country->IdCountry; } } require_once ('auth.inc.php'); require_once ('classes/product.class.php'); $time1 = microtime(true); $core->Run (); $coreTime = microtime(true) - $time1; $loading = microtime (true)-$time; //die("Time is $loading"); if(in_array($_SERVER['REMOTE_ADDR'], array('84.82.222.78', '82.75.101.109', '217.123.160.57', '217.123.166.92'))){ ?>
Time: ( core)
0 ms

Query Sum: ms
Connect time: 0 ms
Session time: 0 ms
Page time: 0 ms
View time: 0 ms
Layout time: 0 ms
Breadcrumb time: 0 ms