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:
@@ -51,7 +51,7 @@ if (isset($new_name) && trim($new_name) != '') {
|
||||
}
|
||||
}
|
||||
}
|
||||
require_once('./header.inc.php');
|
||||
require_once('./libraries/header.inc.php');
|
||||
} // end is target table name
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ if (isset($new_name) && trim($new_name) != '') {
|
||||
* No new name for the table!
|
||||
*/
|
||||
else {
|
||||
require_once('./header.inc.php');
|
||||
require_once('./libraries/header.inc.php');
|
||||
PMA_mysqlDie($strTableEmpty, '', '', $err_url);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user