[pmwiki-users] pmwiki.php vs index.php

John Rankin john.rankin at affinity.co.nz
Sun Sep 18 23:11:06 CDT 2005


On Monday, 19 September 2005 3:34 PM, Sivakatirswami <katir at hindu.org> wrote:
>I see the latest docs  tell us not to rename the "pmwiki.php" file?  
>I've been setting it to "index.php".
>
>Are there some actual PHP programming issues? Or are we just  
>preventing admins who are not paying attention from forgetting to  
>upgrade this file?
>
>Sivakatirswami

What some sites do is create an index.php file with the following line

<?php include('pmwiki.php'); ?>

That way, upgrades work correctly, without having to remenber
to rename pmwiki.php every time.

-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list