Move footer.inc.php, header.inc.php and header_printview.inc.php to libraries folder as it does not require direct access.
This commit is contained in:
@@ -38,10 +38,10 @@ if (!empty($sql_query)) {
|
||||
// If we didn't get any parameters, either user called this directly, or
|
||||
// upload limit has been reached, let's assume the second possibility.
|
||||
if ($_POST == array() && $_GET == array()) {
|
||||
require_once('./header.inc.php');
|
||||
require_once('./libraries/header.inc.php');
|
||||
$show_error_header = TRUE;
|
||||
PMA_showMessage(sprintf($strUploadLimit, '[a@./Documentation.html#faq1_16@_blank]', '[/a]'));
|
||||
require('./footer.inc.php');
|
||||
require('./libraries/footer.inc.php');
|
||||
}
|
||||
|
||||
// Check needed parameters
|
||||
@@ -357,7 +357,7 @@ if ($timeout_passed) {
|
||||
}
|
||||
|
||||
// Display back import page
|
||||
require_once('./header.inc.php');
|
||||
require_once('./libraries/header.inc.php');
|
||||
|
||||
// There was an error?
|
||||
if (isset($my_die)) {
|
||||
|
Reference in New Issue
Block a user