Fix for UNC Windows paths
Made isAbsolutePath recognize Windows UNC-style absolute paths starting with \\pull/8042/head
parent
522ea033a3
commit
486b25fd30
|
@ -440,7 +440,7 @@ class Filesystem
|
|||
*/
|
||||
public function isAbsolutePath($path)
|
||||
{
|
||||
return substr($path, 0, 1) === '/' || substr($path, 1, 1) === ':';
|
||||
return substr($path, 0, 1) === '/' || substr($path, 1, 1) === ':' || substr($path,0,2) === '\\';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue