getUrlContents

This commit is contained in:
fredtempez 2022-02-10 14:43:38 +01:00
parent ef32aa45d2
commit ffd1e3e18a
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}