diff --git a/web/inc/classes/Model.class.php b/web/inc/classes/Model.class.php index 8f4a711..a801fcb 100644 --- a/web/inc/classes/Model.class.php +++ b/web/inc/classes/Model.class.php @@ -126,7 +126,7 @@ class Model { { $value = $GLOBALS['redis']->hget($this->dbTable.':'.$this->id,$key); - var_dump("[".$this->dbTable.':'.$this->id."] Loading from DB $key: '$value'"); + //var_dump("[".$this->dbTable.':'.$this->id."] Loading from DB $key: '$value'"); if($value!==NULL) //we'll leave null values alone switch($this->dbFields[$key]['type']) diff --git a/web/index.php b/web/index.php index b303a84..fa5cd68 100644 --- a/web/index.php +++ b/web/index.php @@ -31,6 +31,9 @@ $GLOBALS['url'] = $url; autoLoginCheck(); +if( $_SESSION['user']) + var_dump($_SESSION['user']->data); + $response = callHook($url); if(is_string($response))