mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-11-20 05:26:53 +00:00
[PHP] Update to 8.5.13
This commit is contained in:
254 files changed
+20
-25707
No files matched your search
@@ -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);
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user