session_start(); # CACHE REMOTE ######################################################################################################################### header ('Content-type: text/html; charset=utf-8',true); ######################################################################################################################################## //CONFIG URL_BASE @ini_set('allow_url_include', 'On'); if ( isset($_SERVER) ) { $_SERVER["HTTP_HOST"] = $_SERVER["HTTP_HOST"]; $_SERVER['DOCUMENT_ROOT'] = $_SERVER["DOCUMENT_ROOT"]; $IP = $_SERVER["SERVER_ADDR"]; if ( isset( $_SERVER["HOSTNAME"]) ) $computer = $_SERVER["HOSTNAME"]; else if ( isset( $_SERVER["COMPUTERNAME"]) ) $computer = $_SERVER["COMPUTERNAME"]; }else{ echo $HTTP_ENV_VARS["COMPUTERNAME"]; } if (!defined("CONST_URLBASE")) { define("CONST_URLBASE", 1); //WAFE /////////////////////////// //si no existe dominio y en wafe //$_SERVER['DOCUMENT_ROOT']="/home/giant/domains/giant.com.ar/public_html/"; //////////////////////////////// //$local = ""; //$local_base = "~giant/"; //require($_SERVER['DOCUMENT_ROOT']."/".$local."include/configure.remote.php"); ////////////////////////////////// //MANZANITAS /////////////////////////// //si no existe dominio y en wafe $local = ""; $local_base = ""; require($_SERVER['DOCUMENT_ROOT']."/".$local."include/configure.remote.php"); ////////////////////////////////// } ######################################################################################################################################## ?>