Use include() instead of require()

This commit is contained in:
Alexander M. Turek
2002-07-16 12:09:58 +00:00
parent 23c1414e31
commit 41cf38c0dc
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2002-07-16 Alexander M. Turek <rabus@users.sourceforge.net>
* header.inc.php3: Use include() instead of require().
2002-07-16 Marc Delisle <lem9@users.sourceforge.net> 2002-07-16 Marc Delisle <lem9@users.sourceforge.net>
* libraries: charset_conversion.lib.php3, common.lib.php3: bug 581577: * libraries: charset_conversion.lib.php3, common.lib.php3: bug 581577:
a better if, because sometimes the test for PHP3 succeeds even a better if, because sometimes the test for PHP3 succeeds even

View File

@@ -6,10 +6,10 @@
* Gets a core script and starts output buffering work * Gets a core script and starts output buffering work
*/ */
if (!defined('PMA_COMMON_LIB_INCLUDED')) { if (!defined('PMA_COMMON_LIB_INCLUDED')) {
require('./libraries/common.lib.php3'); include('./libraries/common.lib.php3');
} }
if (!defined('PMA_OB_LIB_INCLUDED')) { if (!defined('PMA_OB_LIB_INCLUDED')) {
require('./libraries/ob.lib.php3'); include('./libraries/ob.lib.php3');
} }
if ($GLOBALS['cfg']['OBGzip']) { if ($GLOBALS['cfg']['OBGzip']) {
$GLOBALS['ob_mode'] = PMA_outBufferModeGet(); $GLOBALS['ob_mode'] = PMA_outBufferModeGet();