AltervistaUserBot/phar.php
bruninoit 9247b4c51b
version 1.0.2
fixed !off command
fixed multi login
other minor fixes
2018-02-27 20:07:59 +01:00

11 lines
464 B
PHP

<?php
if (!file_exists('madeline.phar')) {
file_put_contents('madeline.phar', file_get_contents('https://phar.madelineproto.xyz/madeline.phar?v=new'));
}
require 'madeline.phar';
if (trim(file_get_contents('phar://madeline.phar/.git/refs/heads/master')) !== trim(file_get_contents('https://phar.madelineproto.xyz/release?v=new'))) {
file_put_contents('madeline.phar', file_get_contents('https://phar.madelineproto.xyz/madeline.phar?v=new'));
}