[pmwiki-users] Index.php include
Patrick R. Michaud
pmichaud at pobox.com
Tue Apr 8 09:37:11 CDT 2008
On Tue, Apr 08, 2008 at 02:44:41PM +0100, Martin Wheldon wrote:
> In which case why not symlink pmwiki/index.php back to your index.php
If the program is then invoked using the pmwiki/ form of the
url (i.e., as pmwiki/index.php), then the chdir will fail because
pmwiki/index.php is already in the pmwiki directory.
Or, if you're referring to the opposite symlink -- i.e., symlinking
from index.php to pmwiki/index.php, there's still the problem that
the root index.php will be executing from the root directory and
not the pmwiki/ directory.
More information about the pmwiki-users