WIP noscheme modifier

This commit is contained in:
Pierre Rudloff 2015-10-30 13:40:36 +01:00
parent 92035533b8
commit 651ab412a7
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
<?php
function smarty_modifier_noscheme($url) {
$info = parse_url($url);
return '//'.$info['host'].$info['path'];
}