[Pmwiki-users] About sample-config.php

chr@home.se chr
Tue Jul 27 08:39:55 CDT 2004


On Tue, 27 Jul 2004, Jonathan Scott Duff wrote:

> On Tue, Jul 27, 2004 at 08:29:22AM +0200, Christian Ridderstr??m wrote:
> > Hi
> > 
> > Is there anything that prevents 'sample-config.php' from being executed 
> > where it currently is found (i.e. next to 'pmwiki.php')?
> > 
> > Maybe we should let sample-config.php start with:
> > 
> > 	if(!defined('PmWiki')) { highlight_file(__FILE__); exit; }
> 
> Why do you want sample-config.php to be executed?  How does showing the
> source code in a browser help the wiki admin?

I do *not* want it to accidentally executed... the idea is that if it for 
some reason is, all it will do is show the code.

/Christian

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




More information about the pmwiki-users mailing list