Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2005-11-24 12:12:17 +0300
committerMichal Čihař <michal@cihar.com>2005-11-24 12:12:17 +0300
commit6aeabf44d1efe6cf01fa1a813ed1e9e1b2d07fd8 (patch)
tree447a6a6165e3a445e1ae4dc9b16181903b2c85c0 /user_password.php
parente040c424fa14e2f4ea203bebc43d15f016876875 (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.php10
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>&nbsp;&nbsp;&nbsp;&nbsp;' . $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');
?>