public static function retrieveZoneSourceId() { $zone = null; $context = null; $vars = explode('/', $_SERVER['REQUEST_URI']); $zone = $vars[ZONE_URL_INDEX]; if (isset($vars[ZONE_URL_INDEX + 1])) { $context = $vars[ZONE_URL_INDEX + 1]; } else { $context = 'SIF_Default'; } Zone::setupZone($zone); Zone::setupContext($context); Zone::getZoneVersion(); }