aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Tools.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/Tools.class.php')
-rw-r--r--inc/poche/Tools.class.php2
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