]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/poche/Tools.class.php
postgres
[github/wallabag/wallabag.git] / inc / poche / Tools.class.php
index 8b339ea57989f639df7c9bc17f1ee8ac40da92b3..d0e431663dcf5f9dc07aa1e904edf78bfe789cb7 100644 (file)
@@ -77,6 +77,7 @@ class Tools
                 $url = $ref;
             }
         }
+        self::logm('redirect to ' . $url);
         header('Location: '.$url);
         exit();
     }
@@ -198,6 +199,7 @@ class Tools
         if (DEBUG_POCHE) {
             $t = strval(date('Y/m/d_H:i:s')) . ' - ' . $_SERVER["REMOTE_ADDR"] . ' - ' . strval($message) . "\n";
             file_put_contents(CACHE . '/log.txt', $t, FILE_APPEND);
+            error_log('DEBUG POCHE : ' . $message);
         }
     }