3 declare(strict_types
=1);
6 use PhpMyAdmin\UrlRedirector
;
8 if (! defined('ROOT_PATH')) {
9 // phpcs:disable PSR1.Files.SideEffects
10 define('ROOT_PATH', __DIR__
. DIRECTORY_SEPARATOR
);
14 if (PHP_VERSION_ID
< 70205) {
15 die('<p>PHP 7.2.5+ is required.</p><p>Currently installed version is: ' . PHP_VERSION
. '</p>');
18 // phpcs:disable PSR1.Files.SideEffects
19 define('PHPMYADMIN', true);
22 require_once ROOT_PATH
. 'libraries/constants.php';
27 if (! @is_readable
(AUTOLOAD_FILE
)) {
29 '<p>File <samp>' . AUTOLOAD_FILE
. '</samp> missing or not readable.</p>'
30 . '<p>Most likely you did not run Composer to '
31 . '<a href="https://docs.phpmyadmin.net/en/latest/setup.html#installing-from-git">'
32 . 'install library files</a>.</p>'
36 require AUTOLOAD_FILE
;
38 $isMinimumCommon = true;
42 UrlRedirector
::redirect();