mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
-
This commit is contained in:
parent
29deacf0fa
commit
59a006fa3a
@ -48,7 +48,6 @@ function twig_hasPermission_filter($mod, $permission, $board) {
|
||||
}
|
||||
|
||||
function twig_extension_filter($value, $case_insensitive = true) {
|
||||
return 'test';
|
||||
$ext = substr($value, strrpos($value, '.') + 1);
|
||||
if($case_insensitive)
|
||||
$ext = strtolower($ext);
|
||||
|
Loading…
x
Reference in New Issue
Block a user