]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Fixes incorrect call to
authorArthurHoaro <arthur@hoa.ro>
Thu, 26 Nov 2015 19:51:53 +0000 (20:51 +0100)
committerArthurHoaro <arthur@hoa.ro>
Thu, 26 Nov 2015 19:51:53 +0000 (20:51 +0100)
From 2e28269baed195d58bbe169841eed176b171db76

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.