comment obfuscation
This commit is contained in:
parent
3dbbcee4dc
commit
8cd9e993d9
@ -907,23 +907,23 @@ class core extends common
|
||||
break;
|
||||
// Layout allégé
|
||||
case self::DISPLAY_LAYOUT_LIGHT:
|
||||
ob_start();
|
||||
//ob_start();
|
||||
require 'core/layout/light.php';
|
||||
// Supprime les espaces, les sauts de ligne, les tabulations et autres caractères inutiles
|
||||
$content = preg_replace('/\s+/u', ' ', ob_get_clean());
|
||||
//$content = preg_replace('/\s{2,}/u', ' ', ob_get_clean());
|
||||
// Convertit la chaîne en UTF-8 pour conserver les caractères accentués
|
||||
$content = mb_convert_encoding($content, 'UTF-8', 'UTF-8');
|
||||
echo $content;
|
||||
//$content = mb_convert_encoding($content, 'UTF-8', 'UTF-8');
|
||||
//echo $content;
|
||||
break;
|
||||
// Layout principal
|
||||
case self::DISPLAY_LAYOUT_MAIN:
|
||||
ob_start();
|
||||
//ob_start();
|
||||
require 'core/layout/main.php';
|
||||
// Supprime les espaces, les sauts de ligne, les tabulations et autres caractères inutiles
|
||||
$content = preg_replace('/\s+/u', ' ', ob_get_clean());
|
||||
//$content = preg_replace('/\s{2,}/u', ' ', ob_get_clean());
|
||||
// Convertit la chaîne en UTF-8 pour conserver les caractères accentués
|
||||
$content = mb_convert_encoding($content, 'UTF-8', 'UTF-8');
|
||||
echo $content;
|
||||
//$content = mb_convert_encoding($content, 'UTF-8', 'UTF-8');
|
||||
//echo $content;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ class common
|
||||
const ACCESS_TIMER = 1800;
|
||||
|
||||
// Numéro de version et branche pour l'auto-update
|
||||
const ZWII_VERSION = '12.3.01';
|
||||
const ZWII_VERSION = '12.3.02';
|
||||
|
||||
const ZWII_DATAVERSION = 12301;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user