$split = explode('.', $host);
if (count($split) > 1) {
array_shift($split);
- $try[] = '.'.implode('.', $split);
+ $try[] = implode('.', $split);
}
foreach ($try as $h) {
if (array_key_exists($h, self::$config_cache)) {
return $config;
}
}
-?>
\ No newline at end of file
+?>