Fix syntax and backslash escaping

main
Jordi Boggiano 5 years ago committed by GitHub
parent 486b25fd30
commit 8944627245
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -440,7 +440,7 @@ class Filesystem
*/
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…
Cancel
Save