This is indeed a pretty nasty oversight. The package should at least function by default, especially in stable.

The following change, courtesy of the Ubuntu cacti-0.8.6i package, fixes the problem:

/usr/share/cacti/include/config.php, line 86:

change:

if (!((is_file($_SERVER["SCRIPT_FILENAME"])) && (substr_count($_SERVER ["SCRIPT_FILENAME"], $_SERVER["PHP_SELF"])))) {

to:

if (!((is_file($_SERVER["SCRIPT_FILENAME"])) && (substr_count($_SERVER ["SCRIPT_FILENAME"], basename($_SERVER["PHP_SELF"]))))) {



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to