$admincacheexist = false; } } } if (!$admincacheexist && function_exists('simplexml_load_file')) { $versioncont = "<?php\n"; $versioncont .= "define('LS_ADMIN_CACHE_CREATED','" . time() . "');\n"; $urlxml = parse_url(BASE_URL_ORIG); $jakXML = @simplexml_load_file('http://vc.livesupportrhino.com/rhinolight.xml?url=' . $urlxml["host"]); if ($jakXML) { $versioncont .= "define('LS_VC_STATUS',1);\n"; foreach ($jakXML->children() as $child) { $versioncont .= "define('LS_VC_" . strtoupper($child->getName()) . "','" . $child . "');\n"; } } else { $jakXML = jak_load_xml_from_url('http://vc.livesupportrhino.com/rhinolight.xml?url=' . $urlxml["host"]); if ($jakcurlxml) { $versioncont .= "define('LS_VC_STATUS',1);\n"; foreach ($jakXML->children() as $child) { $versioncont .= "define('LS_VC_" . strtoupper($child->getName()) . "','" . $child . "');\n"; } } else { $versioncont .= "define('LS_VC_STATUS',0);\n"; } } $versioncont .= "?>"; LS_base::lsWriteinCache($cacheverfile, $versioncont, ''); if (file_exists($cacheverfile)) { include_once $cacheverfile; } }
$admincacheexist = false; } } } if (!$admincacheexist && function_exists('simplexml_load_file')) { $versioncont = "<?php\n"; $versioncont .= "define('LS_ADMIN_CACHE_CREATED','" . time() . "');\n"; $urlxml = parse_url(BASE_URL_ORIG); $jakXML = @simplexml_load_file('http://vc.livesupportrhino.com/rhinosocket.xml?url=' . $urlxml["host"] . '&on=' . LS_O_NUMBER); if ($jakXML) { $versioncont .= "define('LS_VC_STATUS',1);\n"; foreach ($jakXML->children() as $child) { $versioncont .= "define('LS_VC_" . strtoupper($child->getName()) . "','" . $child . "');\n"; } } else { $jakXML = jak_load_xml_from_url('http://vc.livesupportrhino.com/rhinosocket.xml?url=' . $urlxml["host"] . '&on=' . LS_O_NUMBER); if ($jakcurlxml) { $versioncont .= "define('LS_VC_STATUS',1);\n"; foreach ($jakXML->children() as $child) { $versioncont .= "define('LS_VC_" . strtoupper($child->getName()) . "','" . $child . "');\n"; } } else { $versioncont .= "define('LS_VC_STATUS',0);\n"; } } $versioncont .= "?>"; LS_base::lsWriteinCache($cacheverfile, $versioncont, ''); if (file_exists($cacheverfile)) { include_once $cacheverfile; } }