Translated using Weblate (Slovenian)
[phpmyadmin.git] / index.php
blob7c0f885ea7d5c0d0c96c9e459cb64612ed7ef35a
1 <?php
3 declare(strict_types=1);
5 use PhpMyAdmin\Common;
7 // phpcs:disable PSR1.Files.SideEffects
8 if (! defined('ROOT_PATH')) {
9 define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
12 define('PHPMYADMIN', true);
13 // phpcs:enable
15 if (PHP_VERSION_ID < 70205) {
16 die('<p>PHP 7.2.5+ is required.</p><p>Currently installed version is: ' . PHP_VERSION . '</p>');
19 require_once ROOT_PATH . 'libraries/constants.php';
21 if (! @is_readable(AUTOLOAD_FILE)) {
22 die(
23 '<p>File <samp>' . AUTOLOAD_FILE . '</samp> missing or not readable.</p>'
24 . '<p>Most likely you did not run Composer to '
25 . '<a href="https://docs.phpmyadmin.net/en/latest/setup.html#installing-from-git">'
26 . 'install library files</a>.</p>'
30 require AUTOLOAD_FILE;
32 Common::run();