[gollem] current directory parameter for VFS

Liam Hoekenga liamr at umich.edu
Mon Mar 10 17:26:04 PST 2003


I'm trying to introduce a current directory parameter into VFS so we 
have something to reference if we're trying to use relative paths with 
"change directory".

Right now, I'm doing this in changeDir and setDir in 
gollem/lib/Gollem.php:

$_SESSION['gollem'][$backend_key]['params']['dir'] = $dir;

Debugging code shows that that's set to what I want, but when I try to 
reference $this->_params['dir'] in VFS/file.php, it's a beat behind.

Mar 10 17:23:28 HORDE [notice] [gollem] setLabel: 
/afs/umich.edu/user/l/i/liamr [on line 260 of 
"/usr/local/projects/files/html-ssl/horde-CVS/gollem/lib/Gollem.php"]
Mar 10 17:23:28 HORDE [notice] [gollem] 
/afs/umich.edu/user/l/i/liamr/perl/lib/site_perl [on line 393 of 
"/usr/local/projects/files/html-ssl/horde-CVS/lib/VFS/file.php"]

The log files say to me that the my variable is getting set before VFS 
is being accessed.. so why the one action lag?  Is this the wrong 
approach to take?

Liam



More information about the gollem mailing list