Emmanuel Doguet wrote:
    Re-Hi!

I have installed JFFNMS on an real server, but the rrd_analyze.php create it's log like this :

"-2005-06-24.log" !


Others log are good ! An idea ?

    Many thanks.

For resolve this problem, I must change this part of code, in api.inc.php


Before (in logger() function :
----------------------------------------------------
$file = str_replace(".php","",basename($GLOBALS["jffnms_logging_file"]));


After :
----------------------------------------------------
if( isset( $GLOBALS["jffnms_logging_file"]) )
        $file = 
str_replace(".php","",basename($GLOBALS["jffnms_logging_file"]));
else
        $file = str_replace(".php","",basename( $_SERVER["argv"][0] ) );

----------------------------------------------------

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to