From de0afd3b3280c560f72928d9ead008a5910a9798 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 8 Jul 2018 02:32:51 -0400 Subject: [PATCH] Add api test debug --- include/api.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/api.php b/include/api.php index 4e8e9c232..f5b887b8c 100644 --- a/include/api.php +++ b/include/api.php @@ -772,6 +772,9 @@ function api_get_user(App $a, $contact_id = null) $theme_info = dba::selectFirst('user', ['theme'], ['uid' => $ret['uid']]); if ($theme_info['theme'] === 'frio') { $schema = PConfig::get($ret['uid'], 'frio', 'schema'); + + var_dump($ret['uid'], $schema, $a->config); + if ($schema && ($schema != '---')) { if (file_exists('view/theme/frio/schema/'.$schema.'.php')) { $schemefile = 'view/theme/frio/schema/'.$schema.'.php';