[21322] Fixing a wrong variable name, leading to problems with new php instances
Caeies <[email protected]> Wed, 08 Sep 2010 14:50:47 +0000
| Newsgroups | gmane.comp.web.phpgroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 21322
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21322
Author: Caeies
Date: 2010-09-08 14:50:46 +0000 (Wed, 08 Sep 2010)
Log Message:
-----------
Fixing a wrong variable name, leading to problems with new php instances
Modified Paths:
--------------
modules/phpgwapi/branches/branch_0_9_16/inc/class.vfs_sql.inc.php
Modified: modules/phpgwapi/branches/branch_0_9_16/inc/class.vfs_sql.inc.php
===================================================================
--- modules/phpgwapi/branches/branch_0_9_16/inc/class.vfs_sql.inc.php 2010-08-25 09:16:22 UTC (rev 21321)
+++ modules/phpgwapi/branches/branch_0_9_16/inc/class.vfs_sql.inc.php 2010-09-08 14:50:46 UTC (rev 21322)
@@ -125,7 +125,7 @@
*/
function in_docroot($path)
{
- $docroots = array(PHPGW_SERVER_ROOT,$GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']);
+ $docroots = array(PHPGW_SERVER_ROOT,$GLOBALS['_SERVER']['DOCUMENT_ROOT']);
foreach ($docroots as $docroot)
{