Mettre à jour 'update.php'

This commit is contained in:
Erreur32 2018-02-21 20:05:46 +01:00
parent de42303aff
commit 7978429aa9

View file

@ -1,4 +1,8 @@
<?php
// tests to check UPDATE try to remplace file_get_contents with curl
// to avoid a allow_url_fopen Apache limitaion
$ch = curl_init("https://tools.echosystem.fr/Password/htpasswd/version.txt");
curl_setopt($ch, CURLOPT_NOBODY, true);
@ -9,6 +13,7 @@ echo $retcode;
curl_close($ch);
?>
<?php
define('REMOTE_VERSION', 'https://tools.echosystem.fr/Password/htpasswd/version.txt');
define('VERSION', '1.0.2');