more debug
Build and push / Pulling repo on server (push) Successful in 3s Details

This commit is contained in:
Chris 2023-10-30 23:08:15 +01:00
parent 682252503b
commit 312c4a1d27
2 changed files with 2 additions and 4 deletions

View File

@ -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;
}

View File

@ -31,9 +31,6 @@ $GLOBALS['url'] = $url;
autoLoginCheck();
if( $_SESSION['user'])
var_dump($_SESSION['user']->data);
$response = callHook($url);
if(is_string($response))