ReadFromSession(); if( strlen($myCacheData[1][strhtmlfullpath]) > 0 AND file_exists($myCacheData[1][strhtmlfullpath]) AND $useStaticPage == true AND $useCachePage == true ){ // echo str_replace("_SID_",$sid , implode ('', file ($myCacheData[1][strhtmlfullpath])) ); ob_start(); include($myCacheData[1][strhtmlfullpath]); $myOutput = ob_get_contents(); ob_end_clean(); //Keine Session ID Erzeugen Google Patch Peter 19.04.2004 if ( (int)$myTempstatus[1] == 0 AND $cfgForceKillSessionID){ //WebUser Anfrage echo str_replace("_SID_", $cfgInstallation , $myOutput ); }else{ echo str_replace("_SID_", $sid , $myOutput ); } // echo str_replace("_SID_",$sid , $myOutput ); $time_end_vor_static = mygetmicrotime(); $time_vor_static = $time_end_vor_static - $time_start; $myTodayDateTime = date('Y-m-d H:i:s',time()+ $cfgTimeCorrection ); writestatistic(); // echo "

    Kompl STatic $time_vor_static Time: $myTodayDateTime

"; exit; } //$myparameters = '?sid='.$sid; if ( (int)$myTempstatus[1] == 0 AND $cfgForceKillSessionID){ //WebUser Anfrage $myparameters = '?sid='.$cfgInstallation; $sid = $cfgInstallation; }else{ $myparameters = '?sid='.$sid; } $time_end4 = mygetmicrotime(); $time_start5 = mygetmicrotime(); unset($mytemplanguage); // Wir laden die lokale Sprachdatei if($cmsSession[strlanguage] <> $cmssid[strlanguage] ){ if(strlen($cmsSession[strlanguage])==0){ $myLanguage = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0, 2); if($myLanguage=="de"){ $cmssid[strlanguage] = "german"; } if($myLanguage=="tr"){ $cmssid[strlanguage] = "turkish"; } } //wir laden erstmal die englsiche Datei und dann die entsprechende Sprache //damit Dinge, die noch nicht übersetzt wurden, dennoch in "denglish" vorhanden sind $mytemplanguage = "$cfgSourceDir/php/language/english.inc.php"; include($mytemplanguage); $mytemplanguage = "$cfgSourceDir/php/language/$cmssid[strlanguage].inc.php"; if(file_exists($mytemplanguage)){ include($mytemplanguage); //Jetzt schauen wir ob der User eine Spezial Datei hat.. $mytemplanguage = "$myDocumentRoot/$cfgUserInstallationName/language/$cmssid[strlanguage].inc.php"; if(file_exists($mytemplanguage)){ include($mytemplanguage); } }else{ // Es gibt keine System-Sprachdatei , wir laden unsere englische-System-Sprachdatei //Dürfte eigentlich nicht vorkommen $mytemplanguage = "$cfgSourceDir/php/language/english.inc.php"; include($mytemplanguage); } } $cmsSession[strlanguage] = $cmssid[strlanguage]; unset($mytemplanguage); $time_end5 = mygetmicrotime(); $time_start6 = mygetmicrotime(); require("$cfgSourceDir/php/inc/$cfgInstallation-index.inc.php"); writestatistic(); //Wir schreiben die Variablen die wir im lauf der Applikation bekommen haben //Wieder zurück in die session $_SESSION[cmssid] = $cmssid; $_SESSION[cmsGlobalMediaArray] = $cmsGlobalMediaArray; $_SESSION[cmsLanguage] = $cmsLanguage; $_SESSION[cmsSession] = $cmsSession; $_SESSION[cmsSecureID] = $cmsSecureID; /* $time_end6 = mygetmicrotime(); $time6 = $time_end6 - $time_start6; echo "

   index kompl.: $time6

"; $time4 = $time_end4 - $time_start; echo "

   Big Include Block: $time4

"; $time5 = $time_end5 - $time_start5; echo "

   Language Load: $time5

"; echo "

   volldynamisch ohne object: $time6

"; echo "

   objectklasse: $time2

"; $time_end = mygetmicrotime(); $time = $time_end - $time_start; $myTodayDateTime = date('Y-m-d H:i:s',time()+ $cfgTimeCorrection ); echo "

   $time time:$myTodayDateTime

"; */ $time_end = mygetmicrotime(); $time = $time_end - $time_start; //echo "

   $time time:$myTodayDateTime

"; ?>