Bug #17121 » bug_5225.diff
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));
|
||
}
|
||
/**
|
- « Previous
- 1
- 2
- Next »