X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=3954be973fa6db33a06f930d775b1098f7f5bce2;hb=61873e3ded8dfba397b39aebd2322d0939c82caa;hp=62d29f2c34e5b7a0c835ca5971f71911c95c5b66;hpb=90e5bd65c9d4a5d3d5cedfeaa1314f2a15df5227;p=github%2Fshaarli%2FShaarli.git diff --git a/index.php b/index.php index 62d29f2c..3954be97 100644 --- a/index.php +++ b/index.php @@ -337,7 +337,7 @@ function checkUpdate() function logm($message) { $t = strval(date('Y/m/d_H:i:s')).' - '.$_SERVER["REMOTE_ADDR"].' - '.strval($message)."\n"; - file_put_contents($GLOBAL['config']['LOG_FILE'], $t, FILE_APPEND); + file_put_contents($GLOBALS['config']['LOG_FILE'], $t, FILE_APPEND); } // ------------------------------------------------------------------------------------------