protected function refinePath($path)
    {
        $path = str_replace(array('/', "\\"), DIRECTORY_SEPARATOR, $path);

        list($path) = explode('?', $path);

        return $path;
    }
protected function refinePath($path)
    {
        $path = str_replace(array('/', "\\"), DIRECTORY_SEPARATOR, $path);

        list($path) = explode('?', $path);

        return $path;
    }
protected function refinePath ( $ path ) { $ path = str_replace ( array ( '/' , "\\" ) , DIRECTORY_SEPARATOR , $ path ) ; list ( $ path ) = explode ( '?' , $ path ) ; return $ path ; }
Correct the directory separator
@param string path
@return string
Correct the directory separator