diff --git a/web/inc/classes/Model.class.php b/web/inc/classes/Model.class.php index a801fcb..28370e4 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("BEFORE[".$this->dbTable.':'.$this->id."] Loading from DB $key: '$value'"); if($value!==NULL) //we'll leave null values alone switch($this->dbFields[$key]['type']) @@ -142,6 +142,7 @@ class Model { $value = json_decode($value,true); break; } + var_dump("AFTER[".$this->dbTable.':'.$this->id."] Loading from DB $key: '$value'"); $this->data[$key] = $value; } diff --git a/web/index.php b/web/index.php index fa5cd68..b303a84 100644 --- a/web/index.php +++ b/web/index.php @@ -31,9 +31,6 @@ $GLOBALS['url'] = $url; autoLoginCheck(); -if( $_SESSION['user']) - var_dump($_SESSION['user']->data); - $response = callHook($url); if(is_string($response))