unnecessary disc access
This commit is contained in:
@@ -10,7 +10,11 @@ $Source$
|
||||
* libraries/import.lib.php: support display of HANDLER statement results
|
||||
* libraries/header.inc.php, libraries/auth/http.auth.lib.php,
|
||||
/cookie.auth.lib.php, removed header_custom.inc.php:
|
||||
patch #1502453, unnecessary disk access, thanks to Juergen Wind
|
||||
patch #1502453, unnecessary disk access,
|
||||
thanks to Juergen Wind (windkiel)
|
||||
* libraries/footer.inc.php, libraries/auth/http.auth.lib.php,
|
||||
/cookie.auth.lib.php, removed footer_custom.inc.php:
|
||||
applied the same optimization
|
||||
|
||||
2006-06-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/header.inc.php: bug #1501891, undefined PMA_isSuperuser() when
|
||||
|
@@ -146,7 +146,10 @@ echo sprintf( $GLOBALS['strWelcome'],
|
||||
</div>
|
||||
<?php
|
||||
echo '</div>' . "\n";
|
||||
require './libraries/footer_custom.inc.php';
|
||||
if (file_exists('./config.footer.inc.php')) {
|
||||
require('./config.footer.inc.php');
|
||||
}
|
||||
|
||||
echo ' </body>' . "\n"
|
||||
. '</html>';
|
||||
exit();
|
||||
|
@@ -45,7 +45,10 @@ function PMA_auth() {
|
||||
<br />
|
||||
<div class="warning"><?php echo $GLOBALS['strWrongUser']; ?></div>
|
||||
|
||||
<?php require './libraries/footer_custom.inc.php'; ?>
|
||||
<?php if (file_exists('./config.footer.inc.php')) {
|
||||
require('./config.footer.inc.php');
|
||||
}
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -123,7 +123,10 @@ if (isset($GLOBALS['userlink']) && $GLOBALS['userlink']) {
|
||||
}
|
||||
|
||||
// Include possible custom footers
|
||||
require_once './libraries/footer_custom.inc.php';
|
||||
if (file_exists('./config.footer.inc.php')) {
|
||||
require('./config.footer.inc.php');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Generates profiling data if requested
|
||||
|
@@ -1,11 +0,0 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
// This file includes all custom footers if they exist.
|
||||
|
||||
// Include site footer
|
||||
if (file_exists('./config.footer.inc.php')) {
|
||||
require('./config.footer.inc.php');
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user