diff options
author | Michal Čihař <michal@cihar.com> | 2005-11-24 12:12:17 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2005-11-24 12:12:17 +0300 |
commit | 6aeabf44d1efe6cf01fa1a813ed1e9e1b2d07fd8 (patch) | |
tree | 447a6a6165e3a445e1ae4dc9b16181903b2c85c0 /user_password.php | |
parent | e040c424fa14e2f4ea203bebc43d15f016876875 (diff) |
Move footer.inc.php, header.inc.php and header_printview.inc.php to libraries folder as it does not require direct access.
Diffstat (limited to 'user_password.php')
-rw-r--r-- | user_password.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/user_password.php b/user_password.php index 6ef48500ae..a17de2616f 100644 --- a/user_password.php +++ b/user_password.php @@ -16,10 +16,10 @@ if (!$cfg['ShowChgPassword']) { $cfg['ShowChgPassword'] = PMA_DBI_select_db('mysql'); } if ($cfg['Server']['auth_type'] == 'config' || !$cfg['ShowChgPassword']) { - require_once('./header.inc.php'); + require_once('./libraries/header.inc.php'); echo '<p><b>' . $strError . '</b></p>' . "\n" . '<p> ' . $strNoRights . '</p>' . "\n"; - require_once('./footer.inc.php'); + require_once('./libraries/footer.inc.php'); } // end if @@ -72,7 +72,7 @@ if (isset($nopass)) { : ''; // Displays the page - require_once('./header.inc.php'); + require_once('./libraries/header.inc.php'); echo '<h1>' . $strChangePassword . '</h1>' . "\n\n"; $show_query = 'y'; PMA_showMessage($strUpdateProfileMessage); @@ -91,7 +91,7 @@ if (isset($nopass)) { */ // Loads the headers $js_to_run = 'user_password.js'; -require_once('./header.inc.php'); +require_once('./libraries/header.inc.php'); echo '<h1>' . $strChangePassword . '</h1>' . "\n\n"; // Displays an error message if required @@ -171,5 +171,5 @@ if (PMA_MYSQL_INT_VERSION >= 40102) { /** * Displays the footer */ -require_once('./footer.inc.php'); +require_once('./libraries/footer.inc.php'); ?> |