summaryrefslogtreecommitdiff
path: root/includes/funktion_flag.php
diff options
context:
space:
mode:
authorAngelo Cuccato <cuccato@web.de>2010-08-31 21:16:16 +0200
committerAngelo Cuccato <cuccato@web.de>2010-08-31 21:16:16 +0200
commit2ca2400b779484ff025b0705ff4fb84ead7c4b20 (patch)
tree4e39b0b4cc6bfe705015824c7aed6b3c5d28ccce /includes/funktion_flag.php
parent18060e60cc94c02df9680773bf5cafd35fe2aecf (diff)
clean url handling
Diffstat (limited to 'includes/funktion_flag.php')
-rw-r--r--includes/funktion_flag.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/funktion_flag.php b/includes/funktion_flag.php
index 08c29ac1..56d8a993 100644
--- a/includes/funktion_flag.php
+++ b/includes/funktion_flag.php
@@ -6,7 +6,7 @@ if( strpos( $_SERVER["REQUEST_URI"], "?") >0)
else
$URL = $_SERVER["REQUEST_URI"]. "?SetLanguage=";
-echo "<a href=\"". $URL. "DE\"><img src=\"". $url. substr( $ENGEL_ROOT, 1). "pic/flag/de.gif\" alt=\"DE\"></a> ";
-echo "<a href=\"". $URL. "EN\"><img src=\"". $url. substr( $ENGEL_ROOT, 1). "pic/flag/en.gif\" alt=\"EN\"></a> ";
+echo "<a href=\"". $URL. "DE\"><img src=\"". $url. $ENGEL_ROOT. "pic/flag/de.gif\" alt=\"DE\"></a> ";
+echo "<a href=\"". $URL. "EN\"><img src=\"". $url. $ENGEL_ROOT. "pic/flag/en.gif\" alt=\"EN\"></a> ";
?>