[gollem] Support for dynamic ftp server names, and configuring show_dotfiles

Amos Shapira amos.shapira at gmail.com
Wed Aug 3 01:47:53 PDT 2005


On 8/3/05, Jan Schneider <jan at horde.org> wrote:
> Zitat von Amos Shapira <amos.shapira at gmail.com>:
> 
> > On 8/3/05, Michael M Slusarz <slusarz at mail.curecanti.org> wrote:
> >> > Am I the first one to need such a thing from Gollem? I'd expect this
> >> > to be useful to any hosting provider, of which many must be using
> >> > Horde/Gollem.
> >>
> >> This might be something to shoot for in future Gollem versions, but
> >> it's not going to be implemented for 1.0.
> >
> > BTW - I've just tried to replace the hostname string by 'foo_func()' and
> > define a function but gollem doesn't let me in. I suppose it doesn't
> > "evaluate" this string but takes it literally. Did I miss-understand you?
> > Also it complains about the funtcion being re-defined when I put it
> > in backends.php and I have to restart apache to get rid of this error,
> > is there a better place to put the function in?
> > (sorry, I'm not familiar with PHP).
> 
> First, foo_func() shouldn't be in quotes, second, you need to wrap the

But wouldn't this cause foo_func() to be called at configuration
reading time?
I'd like it to be called when a user connects and return the name of
the ftp server at connection time.

> function definition inside a function_exists() if-clause. See
> horde/config/hooks.php.dist for examples.

Thanks. Will look at it.

> 
> Jan.

--Amos


More information about the gollem mailing list