2018-02-28 13:43:45 +01:00
|
|
|
<?php
|
|
|
|
|
2018-05-09 18:16:35 +02:00
|
|
|
if (!file_exists('madeline.phar') || !file_exists('madeline.phar.version') || (file_get_contents('madeline.phar.version') !== file_get_contents('https://phar.madelineproto.xyz/release?v=new') && file_get_contents('https://phar.madelineproto.xyz/release?v=new'))) {
|
2018-02-28 13:43:45 +01:00
|
|
|
file_put_contents('madeline.phar', file_get_contents('https://phar.madelineproto.xyz/madeline.phar?v=new'));
|
2018-03-01 13:28:16 +01:00
|
|
|
file_put_contents('madeline.phar.version', file_get_contents('https://phar.madelineproto.xyz/release?v=new'));
|
2018-02-28 13:43:45 +01:00
|
|
|
}
|
|
|
|
|
2018-03-01 13:28:16 +01:00
|
|
|
require 'madeline.phar';
|