Add api test debug
This commit is contained in:
parent
4efcd47807
commit
de0afd3b32
1 changed files with 3 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue