From e0dd320b1ef9fdbf204abc377a45cf3e7c54c469 Mon Sep 17 00:00:00 2001 From: Miguel N Date: Sun, 27 Dec 2020 19:29:35 +0000 Subject: [PATCH] Updated paths --- src/Bot/init.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bot/init.php b/src/Bot/init.php index f214552..196e921 100644 --- a/src/Bot/init.php +++ b/src/Bot/init.php @@ -14,9 +14,9 @@ $dotenv->required('CAT_API_KEY')->notEmpty(); define('PROJECT_ROOT', realpath(__DIR__ . '/../../')); -if (!file_exists(PROJECT_ROOT . 'Storage/Logs/bot.log')) +if (!file_exists(PROJECT_ROOT . '/Storage/Logs/bot.log')) { - touch(PROJECT_ROOT . 'Storage/Logs/bot.log'); + touch(PROJECT_ROOT . '/Storage/Logs/bot.log'); } Analog::handler(File::init(PROJECT_ROOT . 'Storage/Logs/bot.log'));