One Hat Cyber Team
Your IP :
172.69.6.84
Server IP :
188.114.96.7
Server :
Linux advantage-project 5.14.0-503.26.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 19 16:28:19 UTC 2025 x86_64
Server Software :
Apache/2.4.62 (Rocky Linux) OpenSSL/3.2.2
PHP Version :
8.3.17
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
phpMyAdmin
/
libraries
/
classes
/
Twig
/
Edit File:
I18nExtension.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Twig; use PhpMyAdmin\Twig\Extensions\I18nExtension as TwigI18nExtension; use PhpMyAdmin\Twig\Extensions\Node\TransNode; use Twig\TwigFilter; class I18nExtension extends TwigI18nExtension { public function __construct() { TransNode::$notesLabel = '// l10n: '; TransNode::$enableMoTranslator = true; } /** * Returns a list of filters to add to the existing list. * * @return TwigFilter[] */ public function getFilters() { return [ // This is just a performance override new TwigFilter('trans', '_gettext'), ]; } }
Simpan