From 95701259a97706027be204802519fd6b5d150cdf Mon Sep 17 00:00:00 2001 From: filesite Date: Fri, 29 Nov 2024 15:06:06 +0800 Subject: [PATCH] v0.4.0 release --- conf/app.php | 4 ++-- themes/beauty/controller/CommandController.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/app.php b/conf/app.php index 392c1d2..677555b 100644 --- a/conf/app.php +++ b/conf/app.php @@ -3,8 +3,8 @@ * Config */ $configs = array( - 'version' => '0.3.9', - 'releaseDate' => '2024-11-09', + 'version' => '0.4.0', + 'releaseDate' => '2024-11-29', 'showVersion' => false, //默认不显示版本号和发布日期 'default_timezone' => 'Asia/Hong_Kong', //timezone, check more: https://www.php.net/manual/en/timezones.asia.php diff --git a/themes/beauty/controller/CommandController.php b/themes/beauty/controller/CommandController.php index 31ca4d1..fb44fec 100644 --- a/themes/beauty/controller/CommandController.php +++ b/themes/beauty/controller/CommandController.php @@ -241,7 +241,7 @@ eof; mkdir($cacheDir, 0777, true); } - $rootDir = __DIR__ . '/../../../www/' . FSC::$app['config']['content_directory']; + $rootDir = realpath(__DIR__ . '/../../../www/' . FSC::$app['config']['content_directory']); if ($dirpath == $rootDir) { if ($index == $total) { $stats['status'] = 'finished';