eee
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user