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:
@@ -31,13 +31,13 @@ $query_default_option = PMA_DBI_QUERY_STORE;
|
||||
if (!$cfgRelation['relwork']) {
|
||||
echo sprintf($strNotSet, 'relation', 'config.inc.php') . '<br />' . "\n"
|
||||
. '<a href="./Documentation.html#relation" target="documentation">' . $strDocu . '</a>' . "\n";
|
||||
require_once('./footer.inc.php');
|
||||
require_once('./libraries/footer.inc.php');
|
||||
}
|
||||
|
||||
if (!$cfgRelation['displaywork']) {
|
||||
echo sprintf($strNotSet, 'table_info', 'config.inc.php') . '<br />' . "\n"
|
||||
. '<a href="./Documentation.html#table_info" target="documentation">' . $strDocu . '</a>' . "\n";
|
||||
require_once('./footer.inc.php');
|
||||
require_once('./libraries/footer.inc.php');
|
||||
}
|
||||
|
||||
if (!isset($cfgRelation['table_coords'])){
|
||||
@@ -532,5 +532,5 @@ ToggleDragDrop('pdflayout');
|
||||
* Displays the footer
|
||||
*/
|
||||
echo "\n";
|
||||
require_once('./footer.inc.php');
|
||||
require_once('./libraries/footer.inc.php');
|
||||
?>
|
||||
|
Reference in New Issue
Block a user