Missing leading slash in sqlhome VFS

Rob Rosenfeld <[email protected]>
Newsgroups gmane.comp.horde.gollem
Message-ID <[email protected]>
I just synced to CVS head today and Gollem no longer shows the files 
it's holding.  My backends.php is below.  Browsing the horde_vfs table 
after uploading a new test file that did appear, I notice a change. 

New entries in the vfs_path table have no leading slash, but the old 
missing entries do.  For example, I have
old:  vfs_path = /home     
new:  vfs_path = home

I also have some entries where vfs_path is empty, which I'm guessing is 
from the bug we read about on the list.  Can you help me correct the 
error so that my old documents display?


$backends['sqlhome'] = array(
    'name' => 'SQL Server with home',
    'driver' => 'sql',
    'preferred' => '',
    'hordeauth' => false,
    'params' => array_merge($GLOBALS['conf']['sql'], array('table' => 
'horde_vfs')),
    'loginparams' => array(),
    'attributes' => array('type', 'name', 'download', 'modified', 
'size', 'permission', 'owner', 'group'),
    'root' => '/home',
    'home' => '/home/' . Auth::getAuth(),
    'createhome' => true
);


-- 
Gollem mailing list - Join the hunt: http://horde.org/bounties/#gollem
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.