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
/
ResourceCheckerConfigCache.php
diff --git
a/vendor/symfony/config/ResourceCheckerConfigCache.php
b/vendor/symfony/config/ResourceCheckerConfigCache.php
index 0a79b84c1c7b38768abf986cae1aa083015b38fb..91feed6228329fccf3bfe538aec307e732d36c3d 100644
(file)
--- a/
vendor/symfony/config/ResourceCheckerConfigCache.php
+++ b/
vendor/symfony/config/ResourceCheckerConfigCache.php
@@
-72,7
+72,7
@@
class ResourceCheckerConfigCache implements ConfigCacheInterface
$this->resourceCheckers = iterator_to_array($this->resourceCheckers);
}
$this->resourceCheckers = iterator_to_array($this->resourceCheckers);
}
- if (!count($this->resourceCheckers)) {
+ if (!
\
count($this->resourceCheckers)) {
return true; // shortcut - if we don't have any checkers we don't need to bother with the meta file at all
}
return true; // shortcut - if we don't have any checkers we don't need to bother with the meta file at all
}
@@
-137,7
+137,7
@@
class ResourceCheckerConfigCache implements ConfigCacheInterface
}
}
}
}
- if (\function_exists('opcache_invalidate') &&
ini_get('opcache.enable'
)) {
+ if (\function_exists('opcache_invalidate') &&
filter_var(ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN
)) {
@opcache_invalidate($this->file, true);
}
}
@opcache_invalidate($this->file, true);
}
}