Add more api test debug

This commit is contained in:
Hypolite Petovan 2018-07-08 02:49:12 -04:00
parent de0afd3b32
commit f8a90f3425

View file

@ -773,7 +773,7 @@ function api_get_user(App $a, $contact_id = null)
if ($theme_info['theme'] === 'frio') { if ($theme_info['theme'] === 'frio') {
$schema = PConfig::get($ret['uid'], 'frio', 'schema'); $schema = PConfig::get($ret['uid'], 'frio', 'schema');
var_dump($ret['uid'], $schema, $a->config); var_dump($ret['uid'], $schema, $a->config, dba::inArray(dba::select('config', [])));
if ($schema && ($schema != '---')) { if ($schema && ($schema != '---')) {
if (file_exists('view/theme/frio/schema/'.$schema.'.php')) { if (file_exists('view/theme/frio/schema/'.$schema.'.php')) {