From b638e9117ba9e3f148714de519b0f17d253ff237 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 3 Mar 2008 12:17:08 +0000 Subject: [PATCH] set old vfs as default again for easier testing of the new UI --- phpgwapi/inc/class.vfs_stream_wrapper.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php index e5f15b2105..c10dfa294d 100644 --- a/phpgwapi/inc/class.vfs_stream_wrapper.inc.php +++ b/phpgwapi/inc/class.vfs_stream_wrapper.inc.php @@ -44,8 +44,8 @@ class vfs_stream_wrapper implements iface_stream_wrapper * @var array */ protected static $fstab = array( - '/' => 'sqlfs://$user:$pass@$host/', -// '/' => 'oldvfs://$user:$pass@$host/', +// '/' => 'sqlfs://$user:$pass@$host/', + '/' => 'oldvfs://$user:$pass@$host/', // '/files' => 'oldvfs://$user:$pass@$host/home/Default', // '/images' => 'http://localhost/egroupware/phpgwapi/templates/idots/images', // '/home/ralf/linux' => '/home/ralf', // we probably need to forbid direct filesystem access for security reasons! @@ -692,7 +692,7 @@ class vfs_stream_wrapper implements iface_stream_wrapper static function init_static() { stream_register_wrapper(self::SCHEME,__CLASS__); - + if ($GLOBALS['egw_info']['server']['vfs_fstab'] && is_array($fstab = unserialize($GLOBALS['egw_info']['server']['vfs_fstab']))) {