Whoops, it looks like you have an invalid PHP version.

Magento supports PHP 5.2.0 or newer. Find out how to install Magento using PHP-CGI as a work-around.

'; exit; } /** * Error reporting */ error_reporting(E_ALL | E_STRICT); /** * Compilation includes configuration file */ $compilerConfig = 'includes/config.php'; if (file_exists($compilerConfig)) { include $compilerConfig; } $mageFilename = 'app/Mage.php'; $maintenanceFile = 'maintenance.flag'; if (!file_exists($mageFilename)) { if (is_dir('downloader')) { header("Location: downloader"); } else { echo $mageFilename." was not found"; } exit; } if (file_exists($maintenanceFile)) { include_once dirname(__FILE__) . '/errors/503.php'; exit; } require_once $mageFilename; #Varien_Profiler::enable(); //if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { // Mage::setIsDeveloperMode(true); //} //ini_set('display_errors', 1); ini_set('memory_limit', '256M'); umask(0); Mage::log('MAGE_RUN_CODE: '.$_SERVER["MAGE_RUN_CODE"]); //if($_SERVER['HTTP_HOST'] == "camerasky.ru" || $_SERVER['HTTP_HOST'] == "www.camerasky.ru" || $_SERVER['HTTP_HOST'] == "176.58.97.152"|| $_SERVER['HTTP_X_FORWARDED_FOR']=="www.camerasky.ru"){ // $_SERVER["MAGE_RUN_CODE"] = "camerasky_ru";//"camerasky_ru"; //}else if($_SERVER['HTTP_HOST'] == "android-enjoyed.com" || $_SERVER['HTTP_HOST'] == "www.android-enjoyed.com" || $_SERVER['HTTP_HOST'] == "178.79.190.93" || $headers["X-Forwarded-For"]=="www.android-enjoyed.com"){ // $_SERVER["MAGE_RUN_CODE"] = "androidenjoyed_en_default"; //}else if($_SERVER['HTTP_HOST'] == "androiddropship.com" || $_SERVER['HTTP_HOST'] == "www.androiddropship.com" || $_SERVER['HTTP_HOST'] == "176.58.102.93" || $headers["X-Forwarded-For"]=="www.androiddropship.com"){ // $_SERVER["MAGE_RUN_CODE"] = "androiddropship_en_default"; //}else if($_SERVER['HTTP_HOST'] == "camerasky.co.uk" || $_SERVER['HTTP_HOST'] == "www.camerasky.co.uk" || $_SERVER['HTTP_HOST'] == "176.58.105.165" || $headers["X-Forwarded-For"]=="www.camerasky.co.uk"){ // $_SERVER["MAGE_RUN_CODE"] = "camerasky_co_uk_english"; //}else if($_SERVER['HTTP_HOST'] == "android-enjoyed.co.nz" || $_SERVER['HTTP_HOST'] == "www.android-enjoyed.co.nz" || $_SERVER['HTTP_HOST'] == "178.79.178.45" || $headers["X-Forwarded-For"]=="www.android-enjoyed.co.nz"){ // $_SERVER["MAGE_RUN_CODE"] = "www_android_enjoyed_co_nz"; //}else{ // $_SERVER["MAGE_RUN_CODE"] = "androidenjoyed_en_default"; //} /* Store or website code */ $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : ''; /* Run store or run website */ $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store'; Mage::run($mageRunCode, $mageRunType);