some doco fixes and other real minor stuff to improve logreading ability

This commit is contained in:
zotlabs
2017-08-09 22:45:52 -07:00
parent 6531cbd1d2
commit 5686901869
5 changed files with 15 additions and 14 deletions

View File

@@ -20,11 +20,12 @@ class PConfig {
if(is_null($uid) || $uid === false)
return false;
if(! array_key_exists($uid, \App::$config))
\App::$config[$uid] = array();
if(! is_array(\App::$config)) {
btlogger('App::$config not an array: ' . $uid);
btlogger('App::$config not an array');
}
if(! array_key_exists($uid, \App::$config)) {
\App::$config[$uid] = array();
}
if(! is_array(\App::$config[$uid])) {