--- a/include/common-template.inc.php +++ b/include/common-template.inc.php @@ -23,8 +23,13 @@ $url.= "&guid=ON"; return str_replace("&", "&", $url); } + +$labsPath = ""; +if (strstr($_SERVER['PHP_SELF'],"labs")) $labsPath = "../"; + function include_header($pageTitle, $pageType, $opendiv = true, $geolocate = false, $datepicker = false) { +global $labsPath; echo ' @@ -33,16 +38,16 @@