mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
allow deploy in root folder.
This commit is contained in:
parent
2130d9fa9e
commit
a9914cf6a8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user