093 masque un warning pour FREE !!!

This commit is contained in:
Fred Tempez 2020-05-14 18:43:35 +02:00
parent cbc5cd2c4f
commit 31e9853ca7
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ class helper {
public static function urlGetContents ($url) {
if(function_exists('file_get_contents') and
ini_get('allow_url_fopen') ){
$url_get_contents_data = file_get_contents($url);
var_dump(function_exists('file_get_contents'));
$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') )){

View File

@ -36,7 +36,7 @@ class common {
const THUMBS_WIDTH = 640;
// Numéro de version
const ZWII_VERSION = '10.0.092';
const ZWII_VERSION = '10.0.093';
const ZWII_UPDATE_CHANNEL = "v10";
public static $actions = [];