Obfuscation 12.3.02
This commit is contained in:
parent
c2ea537b2c
commit
9f2c9ac149
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## Version 12.3.02
|
||||
- Amélioration de l'obfuscation.
|
||||
|
||||
## Version 12.3.01
|
||||
### Améliorations :
|
||||
- Prise en charge PHP 8.2
|
||||
|
@ -1,4 +1,4 @@
|
||||
# ZwiiCMS 12.3.01
|
||||
# ZwiiCMS 12.3.02
|
||||
|
||||
Zwii est un CMS sans base de données (flat-file) qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# ZwiiCMS 12.3.01
|
||||
# ZwiiCMS 12.3.02
|
||||
|
||||
Zwii is a database-less (flat-file) CMS that allows you to easily create and manage a web site without any programming knowledge.
|
||||
|
||||
|
@ -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{2,}/u', ' ', ob_get_clean());
|
||||
$content = preg_replace('/[\t ]+/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{2,}/u', ' ', ob_get_clean());
|
||||
$content = preg_replace('/[\t ]+/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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user