projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website]
/
vendor
/
symfony
/
config
/
FileLocator.php
diff --git
a/vendor/symfony/config/FileLocator.php
b/vendor/symfony/config/FileLocator.php
index f5593cbbe2550911ddac78dd4818486ea9b49af1..2c9cea047c2a426fb9afe79730438b289558addc 100644
(file)
--- a/
vendor/symfony/config/FileLocator.php
+++ b/
vendor/symfony/config/FileLocator.php
@@
-57,7
+57,7
@@
class FileLocator implements FileLocatorInterface
$filepaths = $notfound = array();
foreach ($paths as $path) {
$filepaths = $notfound = array();
foreach ($paths as $path) {
- if (@file_exists($file = $path.DIRECTORY_SEPARATOR.$name)) {
+ if (@file_exists($file = $path.
\
DIRECTORY_SEPARATOR.$name)) {
if (true === $first) {
return $file;
}
if (true === $first) {
return $file;
}
@@
-84,7
+84,7
@@
class FileLocator implements FileLocatorInterface
private function isAbsolutePath($file)
{
if ('/' === $file[0] || '\\' === $file[0]
private function isAbsolutePath($file)
{
if ('/' === $file[0] || '\\' === $file[0]
- || (strlen($file) > 3 && ctype_alpha($file[0])
+ || (
\
strlen($file) > 3 && ctype_alpha($file[0])
&& ':' === $file[1]
&& ('\\' === $file[2] || '/' === $file[2])
)
&& ':' === $file[1]
&& ('\\' === $file[2] || '/' === $file[2])
)