From a40e6d04c605c3883381bc06d53f9cde97f6146c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Wed, 22 Aug 2001 14:55:57 +0000 Subject: [PATCH] optimized "include/require" statements --- db_stats.php3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/db_stats.php3 b/db_stats.php3 index b656fce06..6d1aad2c1 100644 --- a/db_stats.php3 +++ b/db_stats.php3 @@ -9,8 +9,9 @@ require('./grab_globals.inc.php3'); if (!empty($db)) { $db_start = $db; } -require('./lib.inc.php3'); -include('./header.inc.php3'); +// loic1: lib.inc.php3 will be loaded by header.inc.php3 +//require('./lib.inc.php3'); +require('./header.inc.php3'); /** @@ -202,7 +203,7 @@ if ($num_dbs > 1) { while ((list($key, $val) = each($results_array)) && ($j < $display_max)) { $j++; - $bgcolor = ($j % 2) ? $cfgBgcolorOne : $cfgBgcolorTwo; + $bgcolor = ($j % 2) ? $cfgBgcolorOne : $cfgBgcolorTwo; list($disp_val, $unit) = format_byte_down($val, 3, 1); echo ' ' . "\n"; echo '  ' . $j . ' ' . "\n";