Project

General

Profile

Bug #17121 » bug_5225.diff

Administrator Admin, 2007-03-16 19:02

View differences:

t3lib/class.t3lib_basicfilefunc.php (Arbeitskopie)
*********************/
/**
* Removes all dots, slashes and spaces after a path...
* Removes all slashes and spaces after a path...
*
* @param string Input string
* @return string Output string
*/
function cleanDirectoryName($theDir) {
return preg_replace('/[\/\. ]*$/','',$this->rmDoubleSlash($theDir));
return preg_replace('/[\/ ]*$/','',$this->rmDoubleSlash($theDir));
}
/**
(2-2/2)