bug 1192: added some echo for testing
authorINOPIAE <inopiae@cacert.org>
Fri, 20 Sep 2013 07:28:40 +0000 (09:28 +0200)
committerINOPIAE <inopiae@cacert.org>
Fri, 20 Sep 2013 07:28:40 +0000 (09:28 +0200)
www/index.php

index 01089bc..08ed57f 100644 (file)
@@ -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 {