aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include/myFunctions.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include/myFunctions.php')
-rw-r--r--h-source/Application/Include/myFunctions.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php
index 55fbd9b..a7ccf58 100644
--- a/h-source/Application/Include/myFunctions.php
+++ b/h-source/Application/Include/myFunctions.php
@@ -23,10 +23,11 @@ if (!defined('EG')) die('Direct access not allowed!');
function encodeUrl($url)
{
$url = str_replace(' ','-',$url);
- $url = str_replace('[',null,$url);
- $url = str_replace(']',null,$url);
- $url = str_replace('(',null,$url);
- $url = str_replace(')',null,$url);
+ $url = str_replace('[','-',$url);
+ $url = str_replace(']','-',$url);
+ $url = str_replace('(','-',$url);
+ $url = str_replace(')','-',$url);
+ $url = str_replace('/','-',$url);
$url = str_replace('@','-at-',$url);
$url = urlencode($url);
// $url = html_entity_decode($url, ENT_QUOTES);