Mettre à jour 'update.php'

This commit is contained in:
Erreur32 2018-02-21 19:50:25 +01:00
parent fe4fbf35bc
commit fc8a360848
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<?php <?php
$ch = curl_init("https://tools.echosystem.fr/Password/htaccess/version.txt"); $ch = curl_init("https://tools.echosystem.fr/Password/htpasswd/version.txt");
curl_setopt($ch, CURLOPT_NOBODY, true); curl_setopt($ch, CURLOPT_NOBODY, true);
curl_exec($ch); curl_exec($ch);
@ -10,7 +10,7 @@ curl_close($ch);
?> ?>
<?php <?php
define('REMOTE_VERSION', 'https://tools.echosystem.fr/Password/htaccess/version.txt'); define('REMOTE_VERSION', 'https://tools.echosystem.fr/Password/htpasswd/version.txt');
define('VERSION', '1.0.2'); define('VERSION', '1.0.2');
$script = file_get_contents(REMOTE_VERSION); $script = file_get_contents(REMOTE_VERSION);
$version = VERSION; $version = VERSION;