fix update PAC
This commit is contained in:
+3
-2
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user