One Hat Cyber Team
Your IP :
3.141.244.88
Server IP :
104.21.64.1
Server :
Linux agrigation-prod 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64
Server Software :
nginx/1.24.0
PHP Version :
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
forge
/
db.gftag.com
/
libraries
/
classes
/
Twig
/
Edit File:
AssetExtension.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Twig; use PhpMyAdmin\Theme; use Twig\Extension\AbstractExtension; use Twig\TwigFunction; final class AssetExtension extends AbstractExtension { /** * @return TwigFunction[] */ public function getFunctions() { return [ new TwigFunction('image', [$this, 'getImagePath']), ]; } public function getImagePath(?string $filename = null, ?string $fallback = null): string { global $theme; if (! $theme instanceof Theme) { return ''; } return $theme->getImgPath($filename, $fallback); } }
Simpan