summaryrefslogtreecommitdiffstats
path: root/globe.php
diff options
context:
space:
mode:
Diffstat (limited to 'globe.php')
-rw-r--r--globe.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/globe.php b/globe.php
index 236ef8d..d8cc78d 100644
--- a/globe.php
+++ b/globe.php
@@ -174,7 +174,8 @@ Function CheckAuth($page) {
//TODO: Contains domain !!
Function DoRedirect($message = "Thanks", $to = NULL, $duration = "3") {
- $to=(is_null($to)?$mydomain:$to);
+ global $mydomain;
+ $to = (is_null($to)?$mydomain:$to);
if ($duration == 0) {
header("Location: $to");