protected function cleanPath($path)
    {
        $lastchunk = strrchr($path, DS);
        if (strpos($lastchunk, ':') !== false) {
            $path = str_replace($lastchunk, '', $path);
        }

        return $path;
    }
protected function cleanPath($path)
    {
        $lastchunk = strrchr($path, DS);
        if (strpos($lastchunk, ':') !== false) {
            $path = str_replace($lastchunk, '', $path);
        }

        return $path;
    }
protected function cleanPath ( $ path ) { $ lastchunk = strrchr ( $ path , DS ) ; if ( strpos ( $ lastchunk , ':' ) !== false ) { $ path = str_replace ( $ lastchunk , '' , $ path ) ; } return $ path ; }
Cleans the path.

@param  string $path the path

@return string       the path
Cleans the path .