mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
move defining of (deprecated) SEP constant to common functions, as there are cases where it gets used before defined
This commit is contained in:
parent
b10a0084ea
commit
e7f4bb0848
@ -383,7 +383,6 @@ class egw extends egw_minimal
|
|||||||
*/
|
*/
|
||||||
function define_egw_constants()
|
function define_egw_constants()
|
||||||
{
|
{
|
||||||
define('SEP',filesystem_separator());
|
|
||||||
define('EGW_ACL_READ',1);
|
define('EGW_ACL_READ',1);
|
||||||
define('EGW_ACL_ADD',2);
|
define('EGW_ACL_ADD',2);
|
||||||
define('EGW_ACL_EDIT',4);
|
define('EGW_ACL_EDIT',4);
|
||||||
|
@ -1096,6 +1096,7 @@ function get_account_id($account_id = '',$default_id = '')
|
|||||||
*
|
*
|
||||||
* This is completely unnecessary, as you can use forward slashes in php under every OS -- RalfBecker 2005/11/09
|
* This is completely unnecessary, as you can use forward slashes in php under every OS -- RalfBecker 2005/11/09
|
||||||
*
|
*
|
||||||
|
* @deprecated just use forward slashes supported by PHP on all OS
|
||||||
* @return file system separator
|
* @return file system separator
|
||||||
*/
|
*/
|
||||||
function filesystem_separator()
|
function filesystem_separator()
|
||||||
@ -1110,6 +1111,11 @@ function filesystem_separator()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated just use forward slashes supported by PHP on all OS
|
||||||
|
*/
|
||||||
|
define('SEP', filesystem_separator());
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* print an array or object as pre-formatted html
|
* print an array or object as pre-formatted html
|
||||||
*
|
*
|
||||||
|
@ -52,8 +52,6 @@ if(!defined('EGW_SERVER_ROOT') && !defined('EGW_INCLUDE_ROOT'))
|
|||||||
|
|
||||||
require_once(EGW_INCLUDE_ROOT . '/phpgwapi/inc/common_functions.inc.php');
|
require_once(EGW_INCLUDE_ROOT . '/phpgwapi/inc/common_functions.inc.php');
|
||||||
|
|
||||||
define('SEP',filesystem_separator());
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* function to handle multilanguage support
|
* function to handle multilanguage support
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user