[pmwiki-users] Re: Request for changing the default upload policy

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 26 14:58:24 CST 2005


On Thu, Dec 22, 2005 at 01:27:18AM +0100, christian.ridderstrom at gmail.com wrote:
> On Wed, 21 Dec 2005, Patrick R. Michaud wrote:
> > On Wed, Dec 21, 2005 at 09:18:08PM +0100, Mikael Nilsson wrote:
> > > No, a better approach might be to simply ship several sample configs,
> > > such as
> > > 
> > > sampleconfig-simpleopen.php
> > > sampleconfig-writeprotected.php
> > > sampleconfig-maximumsecured.php
> > 
> > Oooooh, I definitely like that approach much better!  I'll probably
> > leave sample-config.php the way it is now, and introduce
> > secure-config.php as an alternative.
> 
> Could we perhaps then keep the examaples in a separate directory? It could
> be called
> 	examples/
> or perhaps
> 	config-examples/
> or perhaps
> 	samples/
> [...]
> But I hope you're not considering cluttering the root of the installation.

Yes, I was thinking of cluttering the root of the installation.
But I was also thinking only in terms of one (maybe two) sample
config files, not a whole lot.

I'm definitely not a fan of adding another directory.  So, if we're
not going to place them in the root, I think that sample configs
ought to go in local/, scripts/, or cookbook/ .  If we need a pointer
to the samples, we can create README or INSTALL files in the root.

Pm




More information about the pmwiki-users mailing list