From db1b90f8ad2e896ed35fb945e68e777fba952cca Mon Sep 17 00:00:00 2001 From: filesite Date: Fri, 19 Apr 2024 06:43:02 +0800 Subject: [PATCH] bug fix for config get --- themes/tajian/controller/FrontapiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/tajian/controller/FrontapiController.php b/themes/tajian/controller/FrontapiController.php index 112c66f..79fe1e9 100644 --- a/themes/tajian/controller/FrontapiController.php +++ b/themes/tajian/controller/FrontapiController.php @@ -208,7 +208,7 @@ Class FrontApiController extends SiteController { 'created' => time(), ); - if (!empty($config['multipleUserUriParse'])) { + if (!empty(FSC::$app['config']['multipleUserUriParse'])) { $content['user'] = !empty(FSC::$app['user_id']) ? FSC::$app['user_id'] : ''; }