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'));