From aeddcfc20a6aa74082248d89356b1c56b09fbe78 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 27 May 2021 22:45:01 +0200 Subject: [PATCH] constante ZWII_UPDATE_URL --- core/class/helper.class.php | 2 +- core/core.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 014ac226..54e49a5f 100755 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -261,7 +261,7 @@ class helper { * @return string */ public static function getOnlineVersion() { - return (helper::urlGetContents('http://zwiicms.fr/update/'. common::ZWII_UPDATE_CHANNEL . '/version')); + return (helper::urlGetContents(common::ZWII_UPDATE_URL . common::ZWII_UPDATE_CHANNEL . '/version')); } diff --git a/core/core.php b/core/core.php index a4d59bc3..94f01bab 100755 --- a/core/core.php +++ b/core/core.php @@ -1339,7 +1339,7 @@ class common { } } // Contrôle des options php.ini pour la mise à jour auto - if (helper::urlGetContents('http://zwiicms.fr/update/' . common::ZWII_UPDATE_CHANNEL . '/version') === false) { + if (helper::urlGetContents(common::ZWII_UPDATE_URL . common::ZWII_UPDATE_CHANNEL . '/version') === false) { $this->setData(['config','autoUpdate',false]); }