forked from ZwiiCMS-Team/ZwiiCMS
093 masque un warning pour FREE !!!
This commit is contained in:
parent
cbc5cd2c4f
commit
31e9853ca7
@ -26,7 +26,8 @@ class helper {
|
|||||||
public static function urlGetContents ($url) {
|
public static function urlGetContents ($url) {
|
||||||
if(function_exists('file_get_contents') and
|
if(function_exists('file_get_contents') and
|
||||||
ini_get('allow_url_fopen') ){
|
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') &&
|
}elseif(function_exists('fopen') &&
|
||||||
function_exists('stream_get_contents' &&
|
function_exists('stream_get_contents' &&
|
||||||
ini_get('allow_url_fopen') )){
|
ini_get('allow_url_fopen') )){
|
||||||
|
@ -36,7 +36,7 @@ class common {
|
|||||||
const THUMBS_WIDTH = 640;
|
const THUMBS_WIDTH = 640;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.092';
|
const ZWII_VERSION = '10.0.093';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user