diff options
author | Michal Čihař <mcihar@novell.com> | 2010-07-26 18:20:24 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@novell.com> | 2010-07-26 18:20:24 +0400 |
commit | d291827444206eeaf25399020ad6a3d98a5e2766 (patch) | |
tree | ad3380ba8e328ff95ff7e84ddf9c79350e850eaf /pdf_pages.php | |
parent | ee767e2d3d10fff9f8bf1b9cc3bf448690dbcfa0 (diff) |
No need to require_once footer
It is the last thing executed anyway (ends with exit).
Diffstat (limited to 'pdf_pages.php')
-rw-r--r-- | pdf_pages.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pdf_pages.php b/pdf_pages.php index f026ca6512..75d4622fdb 100644 --- a/pdf_pages.php +++ b/pdf_pages.php @@ -38,24 +38,24 @@ $query_default_option = PMA_DBI_QUERY_STORE; if (!$cfgRelation['relwork']) { echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'relation', 'config.inc.php') . '<br />' . "\n" . PMA_showDocu('relation') . "\n"; - require_once './libraries/footer.inc.php'; + require './libraries/footer.inc.php'; } if (!$cfgRelation['displaywork']) { echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'table_info', 'config.inc.php') . '<br />' . "\n" . PMA_showDocu('table_info') . "\n"; - require_once './libraries/footer.inc.php'; + require './libraries/footer.inc.php'; } if (!isset($cfgRelation['table_coords'])){ echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'table_coords', 'config.inc.php') . '<br />' . "\n" . PMA_showDocu('table_coords') . "\n"; - require_once './libraries/footer.inc.php'; + require './libraries/footer.inc.php'; } if (!isset($cfgRelation['pdf_pages'])) { echo sprintf(__('<b>%s</b> table not found or not set in %s'), 'pdf_page', 'config.inc.php') . '<br />' . "\n" . PMA_showDocu('pdf_pages') . "\n"; - require_once './libraries/footer.inc.php'; + require './libraries/footer.inc.php'; } if ($cfgRelation['pdfwork']) { @@ -555,5 +555,5 @@ ToggleDragDrop('pdflayout'); * Displays the footer */ echo "\n"; -require_once './libraries/footer.inc.php'; +require './libraries/footer.inc.php'; ?> |