[gollem] assigning seperate values to vfsroot and "home"

Liam Hoekenga liamr at umich.edu
Tue Dec 17 08:57:47 PST 2002


> There were a few other things needed to make this work; a tweak to getLabel
> () and a change to menu.inc at least. I also changed Gollem::createSession
> () so that it does the right thing if the 'home' parameter isn't set.

The change to setLabel() in lib/Gollem.php (v1.68) doesn't seem to work
right..

    function setLabel()
    {
        $_SESSION['gollem']['label'] = ($_SESSION['gollem']['dir']
            == $_SESSION['gollem']['params']['home']) ?
            _("[home]") :
            $_SESSION['gollem']['dir'];
    }

It doesn't deposit you in the "home" directory when you log in to Gollem.
The setLabel() from v1.67 exhibits the correct behavior.  Can you assign a
value to a variable during the evaluation portion of an IF?

Liam



More information about the gollem mailing list