31         if (substr($a_path, -1) == 
'/' or substr($a_path, -1) == 
"\\") {
    32             $a_path = substr($a_path, 0, -1);
 deleteTrailingSlash(string $a_path)
delete trailing slash of path variables 
 
Base class for all file (directory) operations This class is abstract and needs to be extended...