fix update PAC

This commit is contained in:
mercury
2023-04-11 00:55:50 +04:00
parent 332029a92b
commit cfef73805c
+3 -2
View File
@@ -283,9 +283,10 @@ function download($index)
ini_set('memory_limit', '256M');
require __DIR__ . '/timezone.php';
require __DIR__ . '/debug.php';
// require __DIR__ . '/debug.php';
require __DIR__ . '/bot.php';
require __DIR__ . '/config.php';
require __DIR__ . '/i18n.php';
$source = [
[
'source' => 'https://raw.githubusercontent.com/zapret-info/z-i/master/nxdomain.txt',
@@ -308,7 +309,7 @@ $load = [
switch ($_SERVER['argv'][1]) {
case 'start':
$bot = new Bot($c['key']);
$bot = new Bot($c['key'], $i);
$bot->input['chat'] = $_SERVER['argv'][2];
$bot->input['message_id'] = $_SERVER['argv'][3];
$bot->input['callback_id'] = $_SERVER['argv'][4];