mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
fixed wrong name of config-table
This commit is contained in:
parent
28b38e63ff
commit
5f0e998729
@ -314,8 +314,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Since 0.9.10pre6 config table is named as phpgw_config */
|
/* Since 0.9.10pre6 config table is named as phpgw_config */
|
||||||
$config_table = 'config';
|
|
||||||
$ver = explode('.',@$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
|
$ver = explode('.',@$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']);
|
||||||
|
$config_table = $ver[0] > 0 || (int)$ver[2] > 10 ? 'phpgw_config' : 'config';
|
||||||
|
|
||||||
if(ereg("([0-9]+)(pre)([0-9]+)",$ver[2],$regs))
|
if(ereg("([0-9]+)(pre)([0-9]+)",$ver[2],$regs))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user