Browse Source

v0.4.0 release

master
filesite 3 days ago
parent
commit
95701259a9
  1. 4
      conf/app.php
  2. 2
      themes/beauty/controller/CommandController.php

4
conf/app.php

@ -3,8 +3,8 @@
* Config * Config
*/ */
$configs = array( $configs = array(
'version' => '0.3.9', 'version' => '0.4.0',
'releaseDate' => '2024-11-09', 'releaseDate' => '2024-11-29',
'showVersion' => false, //默认不显示版本号和发布日期 'showVersion' => false, //默认不显示版本号和发布日期
'default_timezone' => 'Asia/Hong_Kong', //timezone, check more: https://www.php.net/manual/en/timezones.asia.php 'default_timezone' => 'Asia/Hong_Kong', //timezone, check more: https://www.php.net/manual/en/timezones.asia.php

2
themes/beauty/controller/CommandController.php

@ -241,7 +241,7 @@ eof;
mkdir($cacheDir, 0777, true); 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 ($dirpath == $rootDir) {
if ($index == $total) { if ($index == $total) {
$stats['status'] = 'finished'; $stats['status'] = 'finished';

Loading…
Cancel
Save