This commit is contained in:
Savetheinternet 2011-11-20 08:40:54 +11:00
parent 20855379c9
commit 7e4a58cbf6

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