From 1695d7d2424a0eacf0536964124de38942a16877 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 11 Mar 2021 10:40:00 +0100 Subject: [PATCH 1/8] core version --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 4dd16063..be80ae2d 100755 --- a/core/core.php +++ b/core/core.php @@ -44,7 +44,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.4.05'; + const ZWII_VERSION = '10.4.06'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; From e9d97b49b13d0d29bfabda28aeb11117bd34d8f7 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 12 Mar 2021 07:21:56 +0100 Subject: [PATCH 2/8] curl order in function --- core/class/helper.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index 7c05699a..e0b0a7e0 100755 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -52,11 +52,6 @@ class helper { if(function_exists('file_get_contents') && ini_get('allow_url_fopen') ){ $url_get_contents_data = @file_get_contents($url); // Masque un warning éventuel - }elseif(function_exists('fopen') && - function_exists('stream_get_contents') && - ini_get('allow_url_fopen')){ - $handle = fopen ($url, "r"); - $url_get_contents_data = stream_get_contents($handle); }elseif(function_exists('curl_version')){ $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); @@ -64,6 +59,11 @@ class helper { curl_setopt($ch, CURLOPT_URL, $url); $url_get_contents_data = curl_exec($ch); curl_close($ch); + }elseif(function_exists('fopen') && + function_exists('stream_get_contents') && + ini_get('allow_url_fopen')){ + $handle = fopen ($url, "r"); + $url_get_contents_data = stream_get_contents($handle); }else{ $url_get_contents_data = false; } From 59ed2b7ad0e57cce07d3b856baa927c5687a97c2 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 12 Mar 2021 13:04:44 +0100 Subject: [PATCH 3/8] bug update site map --- core/core.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/core.php b/core/core.php index be80ae2d..ced1d974 100755 --- a/core/core.php +++ b/core/core.php @@ -1569,11 +1569,6 @@ class common { if ($this->getData(['core', 'dataVersion']) < 10405) { $this->setData(['core', 'dataVersion', 10405]); } - // Version 10.4.06 - if ($this->getData(['core', 'dataVersion']) < 10406) { - $this->removeDir ('core/class/sitemap'); - $this->setData(['core', 'dataVersion', 10406]); - } } } From cb162a91defd8c79286356661849724666efa2e8 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 21 Mar 2021 03:30:21 +0100 Subject: [PATCH 4/8] version 10.5.00 --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index ced1d974..50d8d18b 100755 --- a/core/core.php +++ b/core/core.php @@ -44,7 +44,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.4.06'; + const ZWII_VERSION = '10.5.00'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; From e28b5d77c79da90f9bee123ae4809d5ab851e139 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 21 Mar 2021 03:42:32 +0100 Subject: [PATCH 5/8] supp udate de v11 !! --- core/core.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/core/core.php b/core/core.php index f8e22e35..4ab4c009 100755 --- a/core/core.php +++ b/core/core.php @@ -1581,30 +1581,6 @@ class common { if ($this->getData(['core', 'dataVersion']) < 10405) { $this->setData(['core', 'dataVersion', 10405]); } - - // Version 11.0.00 - if ($this->getData(['core', 'dataVersion']) < 11000) { - - // Option de déconnexion auto activée - $this->setData(['config','autoDisconnect',true]); - - // Mettre à jour les données de langue - $this->setData(['config','translate','scriptGoogle', false ]); - $this->setData(['config','translate','showCredits', false ]); - $this->setData(['config','translate','autoDetect', false ]); - $this->setData(['config','translate','admin', false ]); - $this->setData(['config','translate','fr', false ]); - $this->setData(['config','translate','de', false ]); - $this->setData(['config','translate','en', false ]); - $this->setData(['config','translate','es', false ]); - $this->setData(['config','translate','it', false ]); - $this->setData(['config','translate','nl', false ]); - $this->setData(['config','translate','pt', false ]); - - $this->setData(['core', 'dataVersion', 11000]); - - - } } } From f74d665fb32f18980bf06cda7a5bc605ff3cadfd Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Thu, 11 Mar 2021 10:40:00 +0100 Subject: [PATCH 6/8] core version --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index 4ab4c009..bcfb6596 100755 --- a/core/core.php +++ b/core/core.php @@ -44,7 +44,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.5.00'; + const ZWII_VERSION = '10.4.06'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; From 7d0f09ece9dad6a04b9bddd5df66b55d8935f2fe Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 12 Mar 2021 07:21:56 +0100 Subject: [PATCH 7/8] curl order in function --- core/class/helper.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/class/helper.class.php b/core/class/helper.class.php index a0866708..b3381e8c 100755 --- a/core/class/helper.class.php +++ b/core/class/helper.class.php @@ -64,7 +64,7 @@ class helper { function_exists('stream_get_contents') && ini_get('allow_url_fopen')){ $handle = fopen ($url, "r"); - $url_get_contents_data = stream_get_contents($handle); + $url_get_contents_data = stream_get_contents($handle); }else{ $url_get_contents_data = false; } From 07049a4ab6960ab6b9659598811bad6de5feb1d8 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 21 Mar 2021 03:30:21 +0100 Subject: [PATCH 8/8] version 10.5.00 --- core/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core.php b/core/core.php index bcfb6596..4ab4c009 100755 --- a/core/core.php +++ b/core/core.php @@ -44,7 +44,7 @@ class common { const ACCESS_TIMER = 1800; // Numéro de version - const ZWII_VERSION = '10.4.06'; + const ZWII_VERSION = '10.5.00'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = [];