From a2f8c8a08c24ae3854b60411e9a30907de24f396 Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Fri, 15 Sep 2023 15:58:33 +0300 Subject: [PATCH] Due to our string interpolation changes the directory creation would fail to work. for new installations. Fixed #342 --- config/directories.php | 10 +++++----- src/Libs/Initializer.php | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/directories.php b/config/directories.php index 97fc2722..6800cee0 100644 --- a/config/directories.php +++ b/config/directories.php @@ -6,9 +6,9 @@ return [ '{path}/db/archive', '{path}/config', '{path}/backup', - '{tmpDir}/logs', - '{tmpDir}/cache', - '{tmpDir}/profiler', - '{tmpDir}/webhooks', - '{tmpDir}/debug', + '{tmp_dir}/logs', + '{tmp_dir}/cache', + '{tmp_dir}/profiler', + '{tmp_dir}/webhooks', + '{tmp_dir}/debug', ]; diff --git a/src/Libs/Initializer.php b/src/Libs/Initializer.php index df5d8b07..b4da7b29 100644 --- a/src/Libs/Initializer.php +++ b/src/Libs/Initializer.php @@ -445,8 +445,8 @@ final class Initializer }; $list = [ - '{path}' => $fn('path', $path), - '{tmpDir}' => $fn('tmpDir', $tmpDir), + 'path' => $fn('path', $path), + 'tmp_dir' => $fn('tmpDir', $tmpDir), ]; foreach (require $dirList as $dir) {