[Pmwiki-users] Need change to pmwiki.php

J. Perkins jason
Sat May 22 08:36:26 CDT 2004


I have had to make a very minor change to pmwiki.php for every release 
in order to get it to run on my webhost (Modwest). It would be really 
very nice if I could get it integrated into the core release.

By default, PmWiki thinks $EnablePathInfo should be disabled (zero). If 
I try to manually enable it, the URL of the links change, but clicking 
on them just bounces me to the default page. I don't know why this is, 
but if I change line 218 (0.6.19) from:

    $EnablePathInfo = !preg_match("/^cgi/",php_sapi_name());

to:

    $EnablePathInfo = 1;

...everything works great. I realize that a real solution to this 
problem is nontrivial, but in the meantime would you consider enclosing 
the line in 'if (!isset($EnablePathInfo)) {...}' so that I can override 
the check in a wrapper script? I would really appreciate it if you could.

Thanks,
Jason







More information about the pmwiki-users mailing list