summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-09-20 09:28:40 +0200
committerINOPIAE <inopiae@cacert.org>2013-09-20 09:28:40 +0200
commitbacbfe510ba14eafb4626da35de5e40f26a5f856 (patch)
tree8f66880273eb9320559623900c0ef5e982d6b19c
parent59acdb947431d4b387f359d0c1481ec7466b0ecd (diff)
downloadcacert-devel-bacbfe510ba14eafb4626da35de5e40f26a5f856.tar.gz
cacert-devel-bacbfe510ba14eafb4626da35de5e40f26a5f856.tar.xz
cacert-devel-bacbfe510ba14eafb4626da35de5e40f26a5f856.zip
bug 1192: added some echo for testing
-rw-r--r--www/index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/index.php b/www/index.php
index 01089bc..08ed57f 100644
--- a/www/index.php
+++ b/www/index.php
@@ -165,12 +165,14 @@ require_once('../includes/notary.inc.php');
if($_SESSION['profile']['id'] != 0)
{
$cca=get_last_user_agreement($user_id);
+ echo '###0###'.$cca['active'];
if (!isset($cca['active'])){
$id=52;
$ccatest=TRUE;
}else{
$_SESSION['profile']['loggedin'] = 1;
header('location: https://'.$_SERVER['HTTP_HOST'].'/account.php');
+ echo '###1###'.$cca['active'];
exit;
}
} else {