summaryrefslogtreecommitdiff
path: root/www/index.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-06-15 13:40:57 +0200
committerMichael Tänzer <neo@nhng.de>2013-06-15 13:40:57 +0200
commiteac1f92e5f27e7c65dfb624744666091ccab328f (patch)
tree30bbe367f6b828f62eed30a5ba8ec49e37df0549 /www/index.php
parenta3dbfe74d3521763418f44943a7ccfd974bc33bd (diff)
parentd2ad5c5c27f4daeabd3f53268cdeab2b706e6e97 (diff)
downloadcacert-devel-eac1f92e5f27e7c65dfb624744666091ccab328f.tar.gz
cacert-devel-eac1f92e5f27e7c65dfb624744666091ccab328f.tar.xz
cacert-devel-eac1f92e5f27e7c65dfb624744666091ccab328f.zip
Merge branch 'release' into bug-782
Conflicts: includes/account.php pages/account/12.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";