Project

General

Profile

Bug #17121 » 0005225.patch

Administrator Admin, 2007-03-16 18:32

View differences:

t3lib/class.t3lib_basicfilefunc.php (Arbeitskopie)
* @return string Output string
*/
function cleanDirectoryName($theDir) {
return preg_replace('/[\/\. ]*$/','',$this->rmDoubleSlash($theDir));
return preg_replace('/(^\.+)?[\/ ]*$/','',$this->rmDoubleSlash($theDir));
}
/**
(1-1/2)