This commit is contained in:
Your Name
2026-04-22 13:39:28 +08:00
parent b943ea2ab7
commit c1ac050c6a
17 changed files with 893 additions and 20 deletions

View File

@@ -52,7 +52,7 @@ class SiteMapLogic
$this->arrNovelStatus = StaticConfig::$arrNovelStatus;
$this->strDate = date('Y-m-d');
$this->strSiteMapPath = root_path('storage/SiteMap');
$this->strSiteMapPath = rtrim((string)root_path('storage/SiteMap'), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
$this->NovelModel = NovelModel::getInstance();

View File

@@ -67,7 +67,7 @@ class VideoSiteMapLogic
$this->arrVideoYear = StaticConfig::$arrVideoYear;
$this->strDate = date('Y-m-d');
$this->strSiteMapPath = root_path('storage/SiteMap');
$this->strSiteMapPath = rtrim((string)root_path('storage/SiteMap'), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
$this->VideoModel = VideoModel::getInstance();