1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00
This commit is contained in:
Nicolas Lœuillet 2013-08-07 14:24:07 +02:00
parent 8d3275bee4
commit bc1ee8524e
9 changed files with 203 additions and 487 deletions

View 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);
}
}