lib/Minify/Env.php
public function normalizePath($path)
    {
        $realpath = realpath($path);
        if ($realpath) {
            $path = $realpath;
        }

        $path = str_replace('\\', '/', $path);
        $path = rtrim($path, '/');
        if (substr($path, 1, 1) === ':') {
            $path = lcfirst($path);
        }

        return $path;
    }
public function normalizePath($path)
    {
        $realpath = realpath($path);
        if ($realpath) {
            $path = $realpath;
        }

        $path = str_replace('\\', '/', $path);
        $path = rtrim($path, '/');
        if (substr($path, 1, 1) === ':') {
            $path = lcfirst($path);
        }

        return $path;
    }
public function normalizePath ( $ path ) { $ realpath = realpath ( $ path ) ; if ( $ realpath ) { $ path = $ realpath ; } $ path = str_replace ( '\\' , '/' , $ path ) ; $ path = rtrim ( $ path , '/' ) ; if ( substr ( $ path , 1 , 1 ) === ':' ) { $ path = lcfirst ( $ path ) ; } return $ path ; }
turn windows-style slashes into unix-style,
remove trailing slash
and lowercase drive letter

@param string $path absolute path

@return string
turn windows - style slashes into unix - style remove trailing slash and lowercase drive letter