1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00
This commit is contained in:
Savetheinternet 2011-11-20 08:40:54 +11:00
parent 29deacf0fa
commit 59a006fa3a

View File

@ -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);