[ Avaa Bypassed ]




Upload:

Command:

www-data@3.129.209.87: ~ $
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * hold PhpMyAdmin\Twig\I18nExtension class
 *
 * @package PhpMyAdmin\Twig
 */
namespace PhpMyAdmin\Twig;

use PhpMyAdmin\Twig\I18n\TokenParserTrans;
use Twig\Extensions\I18nExtension as TwigI18nExtension;
use Twig\TwigFilter;

/**
 * Class I18nExtension
 *
 * @package PhpMyAdmin\Twig
 */
class I18nExtension extends TwigI18nExtension
{
    /**
     * Returns the token parser instances to add to the existing list.
     *
     * @return \Twig\TokenParser\TokenParserInterface[]
     */
    public function getTokenParsers()
    {
        return array(new TokenParserTrans());
    }

    /**
     * Returns a list of filters to add to the existing list.
     *
     * @return TwigFilter[]
     */
    public function getFilters()
    {
        return array(
             new TwigFilter('trans', '_gettext'),
        );
    }
}

Filemanager

Name Type Size Permission Actions
I18n Folder 0755
CharsetsExtension.php File 1.08 KB 0644
CoreExtension.php File 725 B 0644
I18nExtension.php File 880 B 0644
IndexExtension.php File 740 B 0644
MessageExtension.php File 1.04 KB 0644
PartitionExtension.php File 738 B 0644
PhpFunctionsExtension.php File 1.03 KB 0644
PluginsExtension.php File 1.25 KB 0644
RelationExtension.php File 1.36 KB 0644
SanitizeExtension.php File 1.07 KB 0644
ServerPrivilegesExtension.php File 778 B 0644
StorageEngineExtension.php File 758 B 0644
TableExtension.php File 647 B 0644
TrackerExtension.php File 671 B 0644
TransformationsExtension.php File 861 B 0644
UrlExtension.php File 1.33 KB 0644
UtilExtension.php File 6.17 KB 0644