Updated paths
This commit is contained in:
parent
6ca471386d
commit
e0dd320b1e
|
@ -14,9 +14,9 @@ $dotenv->required('CAT_API_KEY')->notEmpty();
|
||||||
|
|
||||||
define('PROJECT_ROOT', realpath(__DIR__ . '/../../'));
|
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'));
|
Analog::handler(File::init(PROJECT_ROOT . 'Storage/Logs/bot.log'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue