Dashboard
PHP:
8.0.30
OS:
Linux
User:
hoozgot
/
/
home
/
hoozgot
/
www
/
mountainpassions
/
summer
/
wp-content
/
plugins
/
hmenu
/
inc
📤 Upload
📝 New File
📁 New Folder
Close
Editing: url_set.php
<?php function hmenu_remove_http($url) { $disallowed = array('http://', 'https://', 'ftp://', '//', '\\\\','http:\\\\', 'https:\\\\', 'ftp:\\\\'); foreach($disallowed as $d) { if(strpos($url, $d) === 0) { return str_replace($d, '', $url); } } return $url; } ?>
Save
Cancel