adapted the debian patch to the removed tab in phpgwapi/inc/functions.inc.php

This commit is contained in:
Ralf Becker 2007-12-19 06:40:40 +00:00
parent d74bd8e3aa
commit 365d4cdafa

View File

@ -11,8 +11,8 @@ diff -urNad egroupware~/phpgwapi/inc/functions.inc.php egroupware/phpgwapi/inc/f
die("eGroupWare requires PHP $egw_min_php_version or greater.<br />Please contact your System Administrator to upgrade PHP!");
}
// check if eGW's pear repository is installed and prefer it over the other ones
- if (is_dir(EGW_SERVER_ROOT.'/egw-pear'))
+ if (is_dir(EGW_SERVER_ROOT.'/egw_pear'))
-if (is_dir(EGW_SERVER_ROOT.'/egw-pear'))
+if (is_dir(EGW_SERVER_ROOT.'/egw_pear'))
{
- set_include_path(EGW_SERVER_ROOT.'/egw-pear'.PATH_SEPARATOR.get_include_path());
+ set_include_path(EGW_SERVER_ROOT.'/egw_pear'.PATH_SEPARATOR.get_include_path());