patch #1502453, unnecessary disc access

This commit is contained in:
Marc Delisle
2006-06-09 20:45:17 +00:00
parent d4c13a9e55
commit 110277793a
4 changed files with 11 additions and 13 deletions

View File

@@ -100,7 +100,10 @@ if (top != self) {
<body class="loginform">
<?php require './libraries/header_custom.inc.php'; ?>
<?php if (file_exists('./config.header.inc.php')) {
require('./config.header.inc.php');
}
?>
<div class="container">
<a href="http://www.phpmyadmin.net" target="_blank" class="logo"><?php

View File

@@ -33,7 +33,10 @@ function PMA_auth() {
?>
</head>
<body>
<?php require './libraries/header_custom.inc.php'; ?>
<?php if (file_exists('./config.header.inc.php')) {
require('./config.header.inc.php');
}
?>
<br /><br />
<center>

View File

@@ -1,11 +0,0 @@
<?php
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// This file includes all custom headers if they exist.
// Include site header
if (file_exists('./config.header.inc.php')) {
require('./config.header.inc.php');
}
?>