From ffd1e3e18ac1d757c1205db641c960d8795e0538 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 10 Feb 2022 14:43:38 +0100 Subject: [PATCH] getUrlContents --- core/include/update.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/update.inc.php b/core/include/update.inc.php index ebdaf896..c0229786 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -241,7 +241,7 @@ if($this->getData(['core', 'dataVersion']) < 10000) { } } // Contrôle des options php.ini pour la mise à jour auto - if (helper::urlGetContents(common::ZWII_UPDATE_URL . common::ZWII_UPDATE_CHANNEL . '/version') === false) { + if (helper::getUrlContents(common::ZWII_UPDATE_URL . common::ZWII_UPDATE_CHANNEL . '/version') === false) { $this->setData(['config','autoUpdate',false]); }