From 37d50c1822c9b3b8d8bd1f5cb5c8a5e74ee1d268 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 26 Nov 2003 22:52:25 +0000 Subject: Huge set of optimizations, please test! --- browse_foreigners.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'browse_foreigners.php') diff --git a/browse_foreigners.php b/browse_foreigners.php index b702384c4e..677266c372 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -5,25 +5,23 @@ /** * Get the variables sent or posted to this script and displays the header */ -require('./libraries/grab_globals.lib.php'); +require_once('./libraries/grab_globals.lib.php'); /** * Gets a core script and starts output buffering work */ -if (!defined('PMA_COMMON_LIB_INCLUDED')) { - include('./libraries/common.lib.php'); -} +require_once('./libraries/common.lib.php'); PMA_checkParameters(array('db', 'table', 'field')); -require('./libraries/ob.lib.php'); +require_once('./libraries/ob.lib.php'); if ($cfg['OBGzip']) { $ob_mode = PMA_outBufferModeGet(); if ($ob_mode) { PMA_outBufferPre($ob_mode); } } -include('./libraries/header_http.inc.php'); +require_once('./libraries/header_http.inc.php'); $field = urldecode($field); /** @@ -58,8 +56,8 @@ PMA_setFontSizes();
-- cgit v1.2.3