mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-19 12:28:23 +01:00
Avoid warning about scheme already registered
This commit is contained in:
parent
9861c8aec1
commit
8030c477c9
@ -1323,6 +1323,9 @@ class StreamWrapper implements StreamWrapperIface
|
||||
*/
|
||||
static function init_static()
|
||||
{
|
||||
if (in_array(self::SCHEME, stream_get_wrappers())) {
|
||||
stream_wrapper_unregister(self::SCHEME);
|
||||
}
|
||||
stream_register_wrapper(self::SCHEME,__CLASS__);
|
||||
|
||||
if (($fstab = $GLOBALS['egw_info']['server']['vfs_fstab']) && is_array($fstab) && count($fstab))
|
||||
|
Loading…
Reference in New Issue
Block a user