Permalink
Browse files

[Config] fixed 'scheme://' not detected as absolute path

This also allows the use of configuration files stored in phar files.
  • Loading branch information...
1 parent a2faec1 commit 4ce2661cc50473963c6be20fcb8302b4cef0983f @ocubom ocubom committed Dec 8, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 FileLocator.php
View
@@ -89,6 +89,7 @@ private function isAbsolutePath($file)
&& $file[1] == ':'
&& ($file[2] == '\\' || $file[2] == '/')
)
+ || null !== parse_url($file, PHP_URL_SCHEME)
) {
return true;
}

0 comments on commit 4ce2661

Please sign in to comment.