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