From 85ce6673cbddcfd2b1fc9e90e96ea37b15afbbf9 Mon Sep 17 00:00:00 2001 From: filesite Date: Fri, 19 Apr 2024 08:17:24 +0800 Subject: [PATCH] bread crumbs link update --- themes/tajian/views/site/index.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/themes/tajian/views/site/index.php b/themes/tajian/views/site/index.php index 0c0949f..d94e8a8 100644 --- a/themes/tajian/views/site/index.php +++ b/themes/tajian/views/site/index.php @@ -3,10 +3,16 @@ require_once __DIR__ . '/../../../../plugins/Html.php'; $imgPreffix = '/' . FSC::$app['config']['content_directory'] . FSC::$app['config']['tajian']['data_dir']; +$linkPrefix = ''; +//多用户路径支持 +if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['user_id'])) { + $linkPrefix = '/' . FSC::$app['user_id']; +} + if (!empty($breadcrumbs)) { echo << - 首页 >> + 首页 >> eof; foreach($breadcrumbs as $bread) {