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 /user_password.php | |
parent | ee767e2d3d10fff9f8bf1b9cc3bf448690dbcfa0 (diff) |
No need to require_once footer
It is the last thing executed anyway (ends with exit).
Diffstat (limited to 'user_password.php')
-rw-r--r-- | user_password.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/user_password.php b/user_password.php index 89bc1385f7..cd84b790a1 100644 --- a/user_password.php +++ b/user_password.php @@ -47,7 +47,7 @@ if (!$cfg['ShowChgPassword']) { if ($cfg['Server']['auth_type'] == 'config' || !$cfg['ShowChgPassword']) { require_once './libraries/header.inc.php'; PMA_Message::error(__('You don\'t have sufficient privileges to be here right now!'))->display(); - require_once './libraries/footer.inc.php'; + require './libraries/footer.inc.php'; } // end if @@ -109,7 +109,7 @@ if (isset($_REQUEST['nopass'])) { <a href="index.php<?php echo PMA_generate_common_url($_url_params); ?>" target="_parent"> <strong><?php echo __('Back'); ?></strong></a> <?php - require_once './libraries/footer.inc.php'; + require './libraries/footer.inc.php'; } // end if } // end if @@ -133,5 +133,5 @@ require_once './libraries/display_change_password.lib.php'; /** * Displays the footer */ -require_once './libraries/footer.inc.php'; +require './libraries/footer.inc.php'; ?> |