[PHP] Update to 8.5.13

This commit is contained in:
FreddleSpl0it committed 2026-11-20 00:05:14 +01:00
1 parent e34905807f
commit 7c3ca9ba10
254 files changed
+20 -25707

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ $twig->addFunction(new TwigFunction('query_string', function (array $params = []
return http_build_query(array_merge($filtered, $params));
}));
$twig->addFunction(new TwigFunction('is_uri', function (string $uri, string $where = null) {
$twig->addFunction(new TwigFunction('is_uri', function (string $uri, ?string $where = null) {
if (is_null($where)) $where = $_SERVER['REQUEST_URI'];
return preg_match('/'.$uri.'/i', $where);
}));