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

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Wed Dec 28 22:36:38 CST 2005


On Mon, 26 Dec 2005, Patrick R. Michaud wrote:

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

Does that include adding e.g.

	local/examples/

or
	
	scripts/examples/

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

Using a README with a pointer seems like a good solution to me.

/C

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr






More information about the pmwiki-users mailing list