]> git.mxchange.org Git - friendica.git/commitdiff
Add api test debug
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 8 Jul 2018 06:32:51 +0000 (02:32 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 16 Jul 2018 23:38:16 +0000 (19:38 -0400)
include/api.php

index 4e8e9c2323838caec967c7686a38dfd0847825e9..f5b887b8cee59794f7e77136833b5ddca17f64fd 100644 (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';