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) {