[Pmwiki-users] About sample-config.php

Jonathan Scott Duff duff
Tue Jul 27 08:27:13 CDT 2004


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?

-Scott
-- 
Jonathan Scott Duff
duff at pobox.com



More information about the pmwiki-users mailing list