Add api test debug
This commit is contained in:
parent
4efcd47807
commit
de0afd3b32
|
@ -772,6 +772,9 @@ function api_get_user(App $a, $contact_id = null)
|
||||||
$theme_info = dba::selectFirst('user', ['theme'], ['uid' => $ret['uid']]);
|
$theme_info = dba::selectFirst('user', ['theme'], ['uid' => $ret['uid']]);
|
||||||
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);
|
||||||
|
|
||||||
if ($schema && ($schema != '---')) {
|
if ($schema && ($schema != '---')) {
|
||||||
if (file_exists('view/theme/frio/schema/'.$schema.'.php')) {
|
if (file_exists('view/theme/frio/schema/'.$schema.'.php')) {
|
||||||
$schemefile = 'view/theme/frio/schema/'.$schema.'.php';
|
$schemefile = 'view/theme/frio/schema/'.$schema.'.php';
|
||||||
|
|
Loading…
Reference in a new issue