From a9914cf6a83092acef25c66bc069020bf823a25c Mon Sep 17 00:00:00 2001 From: Alexander Pankratov Date: Wed, 19 Feb 2020 18:31:45 +0300 Subject: [PATCH] allow deploy in root folder. --- server.php | 1 + 1 file changed, 1 insertion(+) diff --git a/server.php b/server.php index b8f6b21..aa4ee29 100644 --- a/server.php +++ b/server.php @@ -76,6 +76,7 @@ foreach ($options['session'] as $session) { $sessions = array_filter($sessions); foreach ($sessions as $file) { + $file = str_replace('//','/', $file); TelegramApiServer\Client::checkOrCreateSessionFolder($file, __DIR__); $sessionFiles[$file] = null; }