403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.58
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/phpmyadmin/libraries/classes/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/phpmyadmin/libraries/classes/Controllers/LicenseController.php
<?php
/**
 * Simple script to set correct charset for the license
 */

declare(strict_types=1);

namespace PhpMyAdmin\Controllers;

use function __;
use function is_readable;
use function printf;
use function readfile;

/**
 * Simple script to set correct charset for the license
 */
class LicenseController extends AbstractController
{
    public function __invoke(): void
    {
        $this->response->disable();
        $this->response->header('Content-type: text/plain; charset=utf-8');

        $filename = LICENSE_FILE;

        // Check if the file is available, some distributions remove these.
        if (@is_readable($filename)) {
            readfile($filename);

            return;
        }

        printf(
            __(
                'The %s file is not available on this system, please visit %s for more information.'
            ),
            $filename,
            'https://www.phpmyadmin.net/'
        );
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit