From ad48a970a52fc44b65176b951a15b9846a290bab Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 17 Dec 2007 10:17:50 +0100 Subject: BUGFIX: use of local web links now possible before I used a lot of http:// requests although the files were in the same domain, now local links with absolute paths are used. --- register.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'register.php') diff --git a/register.php b/register.php index 7c3a373..80f569b 100644 --- a/register.php +++ b/register.php @@ -24,6 +24,7 @@ output_header(); /* new user wants to register */ if(myisset("Rfullname","Remail","Rpassword","Rtimezone") ) { + global $HOST,$INDEX; $ok=1; if(DB_get_userid_by_name($_REQUEST["Rfullname"])) { @@ -44,7 +45,7 @@ if(myisset("Rfullname","Remail","Rpassword","Rtimezone") ) if($r) echo " Welcome to e-DoKo, you are now registered, please visit the". - " homepage to continue."; + " homepage to continue."; else echo " something went wrong, couldn't add you to the database, please contact $ADMIN_NAME at $ADMIN_EMAIL."; } -- cgit v1.2.3-18-g5258