From: Whit B. <wh...@tr...> - 2004-05-16 19:24:55
|
It would be a pretty simple patch to cover this, but I don't know offhand what the ORIG_ prefix means - is it just a customization your host has made? I don't see any mention at all on php.net. So it's probably a patch that would only make sense on your host, that you'd best handle on your own. Anyway, the patch to insert would look something like: if (!isset($PATH_INFO)&&isset($ORIG_PATH_INFO)) { $PATH_INFO=$ORIG_PATH_INFO; } Where to put that? Before the first time $PATH_INFO gets called in each pass through. Shouldn't be too hard to find, but I haven't looked. Whit On Sun, May 16, 2004 at 08:58:34PM +0200, Oliver Betz wrote: > Hello All, > > after a server update (now PHP 4.3.6 running as CGI with > Apache/1.3.29) at my web hoster, PATH_INFO is empty, and the > information contained now in ORIG_PATH_INFO. The same for > PATH_TRANSLATED, but PhpWiki doesn't seem to use this. > > I don't know whether this can/will be changed on the part of the > hoster, but maybe there is a simple way for me to adapt PhpWiki. > > Any hint how I can solve this problem with minimal changes tp PhpWiki > code? I want to avoid to patch future PhpWiki installations, so maybe > a simple solution is to copy the contents of ORIG_PATH_INFO to > PATH_INFO? > > I have to admit that I have only rudimentary knowledge about PHP. > > TIA, > > Oliver > -- > Oliver Betz, Muenchen |