diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-05-16 17:19:15 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-05-16 17:19:15 -0700 |
commit | 329cc1f9b6657ce580b3a297e39a7cd259a62537 (patch) | |
tree | dca09b3a78fcdb9a39646f8968312bf0c722b455 /globe.php | |
parent | c6e4239a672d2456c67e219da480a63f77056723 (diff) | |
download | pathery-329cc1f9b6657ce580b3a297e39a7cd259a62537.tar.xz |
More PHP warning and notice fixes.
Diffstat (limited to 'globe.php')
-rw-r--r-- | globe.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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");
|