HEX
Server: nginx/1.22.1
System: Linux VM-16-9-centos 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
User: www (1001)
PHP: 7.3.31
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //www/server/phpmyadmin/phpmyadmin_adbe6840229e67e3/libraries/constants.php
<?php

declare(strict_types=1);

if (! defined('PHPMYADMIN')) {
    exit;
}

$vendorConfig = require_once ROOT_PATH . 'libraries/vendor_config.php';
if (
    ! is_array($vendorConfig) || ! isset(
        $vendorConfig['autoloadFile'],
        $vendorConfig['tempDir'],
        $vendorConfig['changeLogFile'],
        $vendorConfig['licenseFile'],
        $vendorConfig['sqlDir'],
        $vendorConfig['configFile'],
        $vendorConfig['customHeaderFile'],
        $vendorConfig['customFooterFile'],
        $vendorConfig['versionCheckDefault'],
        $vendorConfig['localePath'],
        $vendorConfig['cacheDir'],
        $vendorConfig['versionSuffix']
    )
) {
    exit;
}

// phpcs:disable PSR1.Files.SideEffects
define('AUTOLOAD_FILE', (string) $vendorConfig['autoloadFile']);
define('TEMP_DIR', (string) $vendorConfig['tempDir']);
define('CHANGELOG_FILE', (string) $vendorConfig['changeLogFile']);
define('LICENSE_FILE', (string) $vendorConfig['licenseFile']);
define('SQL_DIR', (string) $vendorConfig['sqlDir']);
define('CONFIG_FILE', (string) $vendorConfig['configFile']);
define('CUSTOM_HEADER_FILE', (string) $vendorConfig['customHeaderFile']);
define('CUSTOM_FOOTER_FILE', (string) $vendorConfig['customFooterFile']);
define('VERSION_CHECK_DEFAULT', (bool) $vendorConfig['versionCheckDefault']);
define('LOCALE_PATH', (string) $vendorConfig['localePath']);
define('CACHE_DIR', (string) $vendorConfig['cacheDir']);
define('VERSION_SUFFIX', (string) $vendorConfig['versionSuffix']);

/**
 * TCPDF workaround. Avoid referring to nonexistent files (causes warnings when open_basedir is used).
 * This is defined to avoid the TCPDF code to search for a directory outside of open_basedir.
 * This value if not used but is useful, no header logic is used for PDF exports.
 *
 * @see https://github.com/phpmyadmin/phpmyadmin/issues/16709
 */
define('K_PATH_IMAGES', ROOT_PATH);
// phpcs:enable

unset($vendorConfig);