mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
"check for existens of dl() before calling it, thanks to report from CK"
This commit is contained in:
parent
54fd41a16a
commit
bfd2736629
@ -69,7 +69,7 @@ class translation
|
||||
$this->system_charset =& $GLOBALS['egw_setup']->system_charset;
|
||||
}
|
||||
|
||||
if (extension_loaded('mbstring') || @dl(PHP_SHLIB_PREFIX.'mbstring.'.PHP_SHLIB_SUFFIX)) {
|
||||
if (extension_loaded('mbstring') || function_exists('dl') && @dl(PHP_SHLIB_PREFIX.'mbstring.'.PHP_SHLIB_SUFFIX)) {
|
||||
$this->mbstring = true;
|
||||
if(!empty($this->system_charset)) {
|
||||
ini_set('mbstring.internal_encoding',$this->system_charset);
|
||||
|
Loading…
Reference in New Issue
Block a user