projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BUGIFX: output was displayed twice
[e-DoKo.git]
/
register.php
diff --git
a/register.php
b/register.php
index 7c3a373989bdfcd9d91bca39dff5014d9482183e..80f569b8026beab41ee0def3283a9bad576407c1 100644
(file)
--- a/
register.php
+++ b/
register.php
@@
-24,6
+24,7
@@
output_header();
/* new user wants to register */
if(myisset("Rfullname","Remail","Rpassword","Rtimezone") )
{
/* new user wants to register */
if(myisset("Rfullname","Remail","Rpassword","Rtimezone") )
{
+ global $HOST,$INDEX;
$ok=1;
if(DB_get_userid_by_name($_REQUEST["Rfullname"]))
{
$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".
if($r)
echo " Welcome to e-DoKo, you are now registered, please visit the".
- " <a href=\"
$host
\">homepage</a> to continue.";
+ " <a href=\"
".$HOST.$INDEX."
\">homepage</a> to continue.";
else
echo " something went wrong, couldn't add you to the database, please contact $ADMIN_NAME at $ADMIN_EMAIL.";
}
else
echo " something went wrong, couldn't add you to the database, please contact $ADMIN_NAME at $ADMIN_EMAIL.";
}