This commit is contained in:
2025-12-18 15:39:47 +08:00
parent 377a9c17c3
commit f6f94aff32
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ class Kiri
if (Kiri::getPlatform()->isMac()) {
return;
}
$name = '[' . \config('id', 'system-service') . ']';
$name = '[' . \config('site.id', 'system-service') . ']';
if (!empty($prefix)) {
$name .= '.' . $prefix;
}
@@ -104,7 +104,7 @@ class Kiri
public static function getStoragePath(): string
{
$default = APP_PATH . 'storage' . DIRECTORY_SEPARATOR;
$path = \config('storage', $default);
$path = \config('site.log.path', $default);
if (!is_dir($path)) {
mkdir($path, 0777, true);
}