use default fstab, also for an empty one

This commit is contained in:
Ralf Becker 2008-04-19 09:13:50 +00:00
parent 4e3c6aa5f9
commit 13cf2edabb

View File

@ -727,7 +727,7 @@ class vfs_stream_wrapper implements iface_stream_wrapper
stream_register_wrapper(self::SCHEME,__CLASS__); stream_register_wrapper(self::SCHEME,__CLASS__);
if ($GLOBALS['egw_info']['server']['vfs_fstab'] && if ($GLOBALS['egw_info']['server']['vfs_fstab'] &&
is_array($fstab = unserialize($GLOBALS['egw_info']['server']['vfs_fstab']))) is_array($fstab = unserialize($GLOBALS['egw_info']['server']['vfs_fstab'])) && count($fstab))
{ {
self::$fstab = $fstab; self::$fstab = $fstab;
} }