Hello,
I am new to working with the doxygen files and with php in general so I am hoping that someone can help me.
We are using Doygen version 1.8.3.1 and php version 5.2.17. Doxygen is built with SEARCHENGINE = YES, SERVER_BASED_SEARCH = NO, and EXTERNAL_SEARCH = NO in Doxyfile.
My problem is that when search.php is being called, the call ends up in Request.pm which then opens the following command
/usr/local/php/bin/php /htdocs/CS/doxygen/search.php 'query=$params->{query}' 2>&1
This does call search.php, however my value for query is now in $argv rather than $_GET where search-functions.php file expects it to be. If I modify search.php to put the value from $argv into $_GET I do get the correct results.
I am not sure why the call to search.php is ending up in Request.pm. I do not know see any calls for Request.pm in the doxygen code. I do not know if Request.pm is always used if Apache is set up a certain way, or if php can be set to use Request.pm. We build Doxygen for each software release; which means that we build a new Doxygen directory at least twice a year. I am not sure that I should be changing search.php at all, but I particularly don't want to have to implement the same change each time we build for a release.
Is it safe to change search.php? Is there a core source file that I can change it so that it is automatically picked up for each new build? Or, alternatively, does anyone know anything about Request.pm and how that would be intercepting the search.php call on apache?
Any information that you can provide would be greatly appreciated.
Thank you,
Sue |