diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-07 14:24:07 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-07 14:24:07 +0200 |
commit | bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6 (patch) | |
tree | 5ea9d0f0560e84c07ab84c86b9e5fd4dd6ebb039 /inc/poche/Tools.class.php | |
parent | 8d3275bee488d058c6ff0efe6e81d20a584d3709 (diff) | |
download | wallabag-bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6.tar.gz wallabag-bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6.tar.zst wallabag-bc1ee8524e0769ad37e3c4c02cfe96d2f60e52f6.zip |
postgres
Diffstat (limited to 'inc/poche/Tools.class.php')
-rw-r--r-- | inc/poche/Tools.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 8b339ea5..d0e43166 100644 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php | |||
@@ -77,6 +77,7 @@ class Tools | |||
77 | $url = $ref; | 77 | $url = $ref; |
78 | } | 78 | } |
79 | } | 79 | } |
80 | self::logm('redirect to ' . $url); | ||
80 | header('Location: '.$url); | 81 | header('Location: '.$url); |
81 | exit(); | 82 | exit(); |
82 | } | 83 | } |
@@ -198,6 +199,7 @@ class Tools | |||
198 | if (DEBUG_POCHE) { | 199 | if (DEBUG_POCHE) { |
199 | $t = strval(date('Y/m/d_H:i:s')) . ' - ' . $_SERVER["REMOTE_ADDR"] . ' - ' . strval($message) . "\n"; | 200 | $t = strval(date('Y/m/d_H:i:s')) . ' - ' . $_SERVER["REMOTE_ADDR"] . ' - ' . strval($message) . "\n"; |
200 | file_put_contents(CACHE . '/log.txt', $t, FILE_APPEND); | 201 | file_put_contents(CACHE . '/log.txt', $t, FILE_APPEND); |
202 | error_log('DEBUG POCHE : ' . $message); | ||
201 | } | 203 | } |
202 | } | 204 | } |
203 | 205 | ||