public static function getScript($szPath, $szUrl) { $aScript = Sitemap_Sample::getScript($szPath, $szUrl); if (empty($aScript)) { throw new SiteMapException('Script ("' . $szPath . '","' . $szUrl . '") not found in database'); } return $aScript; }