|
From: <var...@us...> - 2012-11-14 17:04:57
|
Revision: 8456
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8456&view=rev
Author: vargenau
Date: 2012-11-14 17:04:48 +0000 (Wed, 14 Nov 2012)
Log Message:
-----------
Use &$_SERVER
Modified Paths:
--------------
trunk/lib/config.php
Modified: trunk/lib/config.php
===================================================================
--- trunk/lib/config.php 2012-11-14 17:01:33 UTC (rev 8455)
+++ trunk/lib/config.php 2012-11-14 17:04:48 UTC (rev 8456)
@@ -297,7 +297,7 @@
function deduce_script_name()
{
- $s = &$GLOBALS['HTTP_SERVER_VARS'];
+ $s = &$_SERVER;
$script = @$s['SCRIPT_NAME'];
if (empty($script) or $script[0] != '/') {
// Some places (e.g. Lycos) only supply a relative name in
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|