Prevent direct execution of some files.
This commit is contained in:
@@ -15,6 +15,10 @@ define('PMA_MINIMUM_COMMON', TRUE);
|
||||
define('PMA_SETUP', TRUE);
|
||||
chdir('..');
|
||||
|
||||
if (!file_exists('./libraries/common.inc.php')) {
|
||||
die('Bad invocation!');
|
||||
}
|
||||
|
||||
require_once './libraries/common.inc.php';
|
||||
require_once './libraries/url_generating.lib.php';
|
||||
require_once './setup/lib/messages.inc.php';
|
||||
|
Reference in New Issue
Block a user