[pmwiki-users] PmWiki work directory, re-revisited

Tom Lederer celok at gmx.net
Sun Feb 4 16:55:01 CST 2007


Am 04.02.2007 um 22:41 schrieb christian.ridderstrom at gmail.com:

> On Sat, 3 Feb 2007, The Editor wrote:
>
>>>> pmwiki/
>>>>       pmwiki.php (including pmwiki.php)
>
>>>>       "core"/
>>>>               scripts/
> 			pmwiki.php
>
> A bit separate, but I kind of like the idea of letting the file  
> pmwiki.php in the root simply include the real pmwiki.php (possibly  
> renamed). The real pmwiki.php could be placed in scripts/.
>
> One advantage is that the administrator could simply rename the  
> file to index.php if he needs to use that name.
>

I like that idea a lot. That way pmwiki.php is in a "static" place  
(inside the scripts folder), but can easily be addressed (on the  
root). And you can place something like the follwing in the root file:

----
<?php

# STOP
# There is no need to edit this, nor should you edit the file that is  
called here....
# for further information read http://www.pmwiki.org/wiki/whatever....
#
# However you can rename this file to whatever you like...
#
# Pm aka "the boss" ;)

include_once('folder/realpmwiki.php');
----

Just my 2 cents...

Tom
-- 

Tom
http://www.celok.de





More information about the pmwiki-users mailing list