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:
Michal Čihař
2005-11-24 09:12:17 +00:00
parent e040c424fa
commit 6aeabf44d1
65 changed files with 118 additions and 118 deletions

View File

@@ -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)) {