Mettre à jour 'update.php'
This commit is contained in:
parent
de42303aff
commit
7978429aa9
1 changed files with 5 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue