forked from extern/egroupware
"fixed check_install to deal with old PEAR versions, where the PEAR_Config object does not have a getRegistry method.
Falling back to the old check which does not give the version number, is better then a fatal error."
This commit is contained in:
parent
07c2be0891
commit
be4c3f44d1
@ -252,6 +252,8 @@
|
||||
$channel = $config->get('default_channel');
|
||||
//echo "<pre>channel = ".print_r($channel,true)."</pre>\n";
|
||||
|
||||
if (!method_exists($config,'getRegistry')) return false; // PEAR version to old
|
||||
|
||||
$reg = &$config->getRegistry();
|
||||
//echo "<pre>reg = ".print_r($reg,true)."</pre>\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user