]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - index.php
Fixes incorrect call to
[github/shaarli/Shaarli.git] / index.php
index b4d9395f8cce11cbb961e0e987358c9d517e7535..bb00c11d2613b231dae6c4196d70eb8c3861ab62 100644 (file)
--- 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);
 }
 
 // In a string, converts URLs to clickable links.