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';