From: Jan Schneider Date: Fri, 3 Jul 2009 00:46:43 +0000 (+0200) Subject: Use Util::realPath(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=eead591c375640901f8a916446cca83ed9562808;p=horde.git Use Util::realPath(). --- diff --git a/framework/Autoloader/lib/Horde/Autoloader.php b/framework/Autoloader/lib/Horde/Autoloader.php index 1c4a1bbf5..595387bf9 100644 --- a/framework/Autoloader/lib/Horde/Autoloader.php +++ b/framework/Autoloader/lib/Horde/Autoloader.php @@ -77,7 +77,7 @@ class Horde_Autoloader public static function addClassPath($path, $prepend = true) { if (is_null(self::$_includeCache)) { - self::$_includeCache = array_keys(array_flip(array_map('realpath', explode(PATH_SEPARATOR, get_include_path())))); + self::$_includeCache = array_keys(array_flip(array_map(array('Horde_Util', 'realPath'), explode(PATH_SEPARATOR, get_include_path())))); } $path = realpath($path);