Provide way for vendors to easily change paths to config files.

This commit is contained in:
Michal Čihař
2010-03-31 12:29:21 +02:00
parent a6371c10d5
commit 7b754395e9
8 changed files with 40 additions and 16 deletions

View File

@@ -55,8 +55,8 @@ function PMA_auth()
</head>
<body>
<?php
if (file_exists('./config.header.inc.php')) {
require './config.header.inc.php';
if (file_exists(CUSTOM_HEADER_FILE)) {
require CUSTOM_HEADER_FILE;
}
?>
@@ -69,8 +69,8 @@ function PMA_auth()
<?php
PMA_Message::error('strWrongUser')->display();
if (file_exists('./config.footer.inc.php')) {
require './config.footer.inc.php';
if (file_exists(CUSTOM_FOOTER_FILE)) {
require CUSTOM_FOOTER_FILE;
}
?>