From 4b2f35af247518958a75fefb6b169574f3a3437e Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 20 Jan 2010 14:34:56 +0100 Subject: [PATCH] Fix class name. --- gollem/lib/Gollem.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gollem/lib/Gollem.php b/gollem/lib/Gollem.php index 14810719d..0440eb887 100644 --- a/gollem/lib/Gollem.php +++ b/gollem/lib/Gollem.php @@ -33,7 +33,7 @@ class Gollem */ static public function setDir($dir) { - $dir = self::realPath($dir); + $dir = Horde_Util::realPath($dir); if (!self::verifyDir($dir)) { return PEAR::raiseError(sprintf(_("Access denied to folder \"%s\"."), $dir)); @@ -335,7 +335,7 @@ class Gollem */ static public function createFolder($dir, $name) { - $totalpath = Gollem::realPath($dir . '/' . $name); + $totalpath = Horde_Util::realPath($dir . '/' . $name); if (!Gollem::verifyDir($totalpath)) { return PEAR::raiseError(sprintf(_("Access denied to folder \"%s\"."), $totalpath)); } @@ -600,7 +600,7 @@ class Gollem static public function verifyDir($dir) { $rootdir = Gollem::getRoot(); - return (Horde_String::substr(Gollem::realPath($dir), 0, Horde_String::length($rootdir)) == $rootdir); + return (Horde_String::substr(Horde_Util::realPath($dir), 0, Horde_String::length($rootdir)) == $rootdir); } @@ -876,7 +876,7 @@ class Gollem */ static public function getDisplayPath($path) { - $path = Gollem::realPath($path); + $path = Horde_Util::realPath($path); $rootdir = Gollem::getRoot(); if (($rootdir != '/') && (strpos($path, $rootdir) === 0)) { $path = substr($path, Horde_String::length($rootdir)); -- 2.11.0