summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-08-25 20:22:30 +0200
committerMichael Tänzer <neo@nhng.de>2013-08-25 20:22:30 +0200
commit2d6e2851a754bbd8d5f5afb0d02bc5caba7d6626 (patch)
tree96cc8268ba19ee9418ab74c5fbbf7c29dc40cce0 /www/index.php
parenteac9744c793d06bc63269952e789a6a30de2e30d (diff)
parenta82f507306a9eba8a9f5dff82d2091dbd29edf71 (diff)
downloadcacert-devel-2d6e2851a754bbd8d5f5afb0d02bc5caba7d6626.tar.gz
cacert-devel-2d6e2851a754bbd8d5f5afb0d02bc5caba7d6626.tar.xz
cacert-devel-2d6e2851a754bbd8d5f5afb0d02bc5caba7d6626.zip
Merge branch 'release' into bug-1017bug-1017
Conflicts: pages/account/6.php Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index 35d22d7..c7cc03e 100644
--- a/www/index.php
+++ b/www/index.php
@@ -18,6 +18,7 @@
require_once('../includes/lib/l10n.php');
+
$id = 0; if(array_key_exists("id",$_REQUEST)) $id=intval($_REQUEST['id']);
$oldid = 0; if(array_key_exists("oldid",$_REQUEST)) $oldid=intval($_REQUEST['oldid']);
$process = ""; if(array_key_exists("process",$_REQUEST)) $process=$_REQUEST['process'];
@@ -544,6 +545,8 @@ require_once('../includes/lib/l10n.php');
`regional`='".$_SESSION['signup']['regional']."',
`radius`='".$_SESSION['signup']['radius']."'";
mysql_query($query);
+ include_once("../includes/notary.inc.php");
+ write_user_agreement($memid, "CCA", "account creation", "", 1);
$body = _("Thanks for signing up with CAcert.org, below is the link you need to open to verify your account. Once your account is verified you will be able to start issuing certificates till your hearts' content!")."\n\n";
$body .= "http://".$_SESSION['_config']['normalhostname']."/verify.php?type=email&emailid=$emailid&hash=$hash\n\n";