WIP noscheme modifier
This commit is contained in:
parent
92035533b8
commit
651ab412a7
2 changed files with 7 additions and 1 deletions
5
smarty/modifier.noscheme.php
Normal file
5
smarty/modifier.noscheme.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
function smarty_modifier_noscheme($url) {
|
||||
$info = parse_url($url);
|
||||
return '//'.$info['host'].$info['path'];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue