Changeset 2338 for sandbox/workflow/branches/609/inc/common.inc.php
- Timestamp:
- 03/24/10 15:22:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/workflow/branches/609/inc/common.inc.php
r2233 r2338 10 10 \**************************************************************************/ 11 11 12 13 12 /** 14 13 * Server base path. This constant is somewhat simililar to 15 14 * 'PHPGW_SERVER_ROOT'. Nevertheless, there are cases that we 16 15 * access Workflow directly and it must be defined somewhere. 16 * Recently discovered, when we are runnnig jobs HTTP_SERVER_VARS 17 * exported by apache are not available. 18 * Therefore, we are using this workaround here, setting 19 * EGW_SERVER_ROOT based on the location of this file. This constant 20 * should be updated properly every time we move this file. 17 21 * @name EGW_SERVER_ROOT 18 22 */ 19 define('EGW_SERVER_ROOT', $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']); 23 define('EGW_SERVER_ROOT', dirname(dirname(dirname(__FILE__)))); 24 //define('EGW_SERVER_ROOT', $GLOBALS['HTTP_SERVER_VARS']['DOCUMENT_ROOT']); 20 25 21 26 /**
Note: See TracChangeset
for help on using the changeset viewer.