diff --git a/composer.json b/composer.json index b775b23180..b80b837bb2 100755 --- a/composer.json +++ b/composer.json @@ -87,8 +87,8 @@ "laminas/laminas-filter": "~2.9", "laminas/laminas-permissions-acl": "~2.7", "league/csv": "^9.1", - "league/glide-symfony": "^1.0", "league/flysystem-ziparchive": "*", + "league/glide-symfony": "^1.0", "maennchen/zipstream-php": "^2.0", "masterminds/html5": "^2.0", "michelf/php-markdown": "~1.8", @@ -98,7 +98,6 @@ "oneup/uploader-bundle": "~3.0", "pagerfanta/pagerfanta": "~2.0", "paragonie/random-lib": "~2.0", - "patchwork/utf8": "~1.3", "php-ffmpeg/php-ffmpeg": "~0.14", "phpoffice/phpspreadsheet": "~1.9", "phpoffice/phpword": "~0.16", @@ -136,7 +135,7 @@ "symfony/web-link": "^5.0", "symfony/webpack-encore-bundle": "^1.7", "symfony/yaml": "^5.0", - "symfonycasts/reset-password-bundle": "^1.1", + "symfonycasts/reset-password-bundle": "^1.3", "szymach/c-pchart": "^3.0", "tgalopin/html-sanitizer-bundle": "^1.1", "twig/intl-extra": "^3.0", diff --git a/public/main/inc/global.inc.php b/public/main/inc/global.inc.php index 95e57a2443..c6e0466acb 100644 --- a/public/main/inc/global.inc.php +++ b/public/main/inc/global.inc.php @@ -3,7 +3,6 @@ /* For licensing terms, see /license.txt */ use Chamilo\CoreBundle\Framework\Container; -use Patchwork\Utf8\Bootup; use Symfony\Component\Dotenv\Dotenv; use Symfony\Component\ErrorHandler\Debug; use Symfony\Component\HttpFoundation\Request; @@ -97,8 +96,6 @@ try { // src/CoreBundle/EventListener/LegacyListener.php // This is called when when doing the $kernel->handle $charset = 'UTF-8'; - // Enables the portability layer and configures PHP for UTF-8 - Bootup::initAll(); ini_set('log_errors', '1'); $this_section = SECTION_GLOBAL; //Default quota for the course documents folder diff --git a/public/main/inc/lib/internationalization.lib.php b/public/main/inc/lib/internationalization.lib.php index 6b4e9ea6f0..20b3d5ae1b 100644 --- a/public/main/inc/lib/internationalization.lib.php +++ b/public/main/inc/lib/internationalization.lib.php @@ -4,7 +4,6 @@ use Chamilo\CoreBundle\Framework\Container; use ChamiloSession as Session; -use Patchwork\Utf8; use Westsworld\TimeAgo; /** diff --git a/public/main/install/index.php b/public/main/install/index.php index 6855d943dc..1464974312 100644 --- a/public/main/install/index.php +++ b/public/main/install/index.php @@ -130,9 +130,6 @@ $session_lifetime = 360000; $installLanguage = ''; $installationGuideLink = '../../documentation/installation_guide.html'; -// Enables the portability layer and configures PHP for UTF-8 -\Patchwork\Utf8\Bootup::initAll(); - // Setting the error reporting levels. error_reporting(E_ALL);