Fix syntax and backslash escaping
parent
486b25fd30
commit
8944627245
|
@ -440,7 +440,7 @@ class Filesystem
|
||||||
*/
|
*/
|
||||||
public function isAbsolutePath($path)
|
public function isAbsolutePath($path)
|
||||||
{
|
{
|
||||||
return substr($path, 0, 1) === '/' || substr($path, 1, 1) === ':' || substr($path,0,2) === '\\';
|
return substr($path, 0, 1) === '/' || substr($path, 1, 1) === ':' || substr($path, 0, 2) === '\\\\';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue