Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2021-07-06 20:00:44 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2021-07-06 20:00:44 +0300
commita0d91ec1532e4da087e456d3edd723937aadd32c (patch)
tree3bd74974e38ba038e5e49ee43f574e59998c6e84 /setup
parentdc37d436cc1e3778a8c3f92e9844de28ef198863 (diff)
Move `common.inc.php` to `classes/Common.php`
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'setup')
-rw-r--r--setup/lib/common.inc.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/setup/lib/common.inc.php b/setup/lib/common.inc.php
index efcf02f80e..5b50c75f20 100644
--- a/setup/lib/common.inc.php
+++ b/setup/lib/common.inc.php
@@ -1,7 +1,4 @@
<?php
-/**
- * Loads libraries/common.inc.php and preforms some additional actions
- */
declare(strict_types=1);
@@ -35,14 +32,8 @@ require AUTOLOAD_FILE;
chdir('..');
-if (! file_exists(ROOT_PATH . 'libraries/common.inc.php')) {
- die('Bad invocation!');
-}
-
$isMinimumCommon = true;
-require_once ROOT_PATH . 'libraries/common.inc.php';
-
Common::run();
// use default error handler