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

Jan Schneider jan at horde.org
Wed Aug 3 02:38:30 PDT 2005


Zitat von Amos Shapira <amos.shapira at gmail.com>:

> 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?

Exactly.

> I'd like it to be called when a user connects and return the name of
> the ftp server at connection time.

Where is the difference?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the gollem mailing list