[dev] Re: [cvs] commit: giapeto test.php

Marko Djukic marko at oblo.com
Sun Mar 30 18:24:34 PST 2003


Quoting Jan Schneider <jan at horde.org>:

> Quoting Marko Djukic <marko at oblo.com>:
> 
> >
> >
> > Quoting "Brent J. Nordquist" <bjn at horde.org>:
> >
> > > On Sat, 29 Mar 2003, Marko Djukic <tech at oblo.com> wrote:
> > >
> > > > and allow one click creation - anyone have any comments on such a
> > > > feature?
> > >
> > > Well... in order for the copy to succeed if the .php isn't there, the
> > > config directory has to be writable by the web server.  The admin.
> > isn't
> > > going to want that to be the case during normal operations.  So it
> > seems
> > > to me that if you have to use the shell to add and then remove write
> > > permission, going to test.php to click "Create" is slower than copying
> > the
> > > file in the shell while you're already there.
> > i know, to an extent we already have this problem with conf.xml/.php
> >
> > how workable is it to have something which could close up the permissions
> > with
> > chmod() once everything is configured?
> >
> > just trying out some solutions...
> 
> ...that are rather half-hearted.
seems like it.

> The "correct" solution would be a Horde-wide setup script that can either be
could it be for example one script in the horde dir then it searches for a file
to include in each app's config dir to figure out what needs to be done for each
app?

> run from commandline by the user who has appropriate access rights or from
> the browser with one or two shell scripts that set and reset the correct
> access rights before and after the setup process, just like a lot of web
> applications do who provide such a feature.
how would this work on a windows machine? is there a valid windows php cli?

m.


More information about the dev mailing list