[pmwiki-users] Change PMWIKI folder and default file name?
Neil Herber
nospam at mail.eton.ca
Sun Feb 27 18:29:11 CST 2005
At 2005-02-26 11:11 PM -0700, H. Fox is rumored to have said:
>I see your server is running Red Hat Linux. A better idea wold be to
>leave the pmwiki.php file as-is and create a symbolic link to it.
>
>ln -s pmwiki.php index.php
>
>The reason is because when you upgrade PmWiki a new pmwiki.php file
>will be copied to the directory. If you have renamed pmwiki.php to
>index.php you'll be using the "pmwiki.php" from the old release with
>other files from the new one. Creating a symlink avoids that problem.
Another way to avoid the "out-of-date" PmWiki problem is the one used on
Wiki farms. Create a file called index.php with these contents:
<?php
include('pathto/pmwiki/pmwiki.php');
?>
Works in WIndoze too!
Neil
Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668
More information about the pmwiki-users
mailing list