1
0
Fork 0

Add api test debug

This commit is contained in:
Hypolite Petovan 2018-07-08 02:32:51 -04:00
parent 4efcd47807
commit de0afd3b32

View file

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