From: Chad <ch...@ch...> - 2004-09-14 01:01:09
|
Just an oversite when I was updating for PHP 5.x. We'll probably remove it.... Wes, do you still need it? -C On Sep 13, 2004, at 12:59 PM, Jim Hu wrote: > At the beginning of the latest version of init.inc.php, the code has > changed from: > > // Older versions of PHP do not define $_SERVER. Define it here > instead. > if (!isset($_SERVER) && isset($HTTP_SERVER_VARS)) { > $_SERVER = &$HTTP_SERVER_VARS; > } > > to > > // Older versions of PHP do not define $_SERVER. Define it here > instead. > if (!isset($_SERVER) && isset($_SERVER)) { > $_SERVER = &$_SERVER; > } > > Shouldn't this go back if the function is still for compatibility with > older versions of php? Or perhaps it should just be deleted, as it > seems like the if will never evaluate to true. Not that this affects > my install... > > Jim > ===================================== > Jim Hu > Associate Professor and Associate Head for Graduate Programs > Dept. of Biochemistry and Biophysics > 2128 TAMU > Texas A&M Univ. > College Station, TX 77843-2128 > 979-862-4054 |