mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
postgres
This commit is contained in:
parent
8d3275bee4
commit
bc1ee8524e
9 changed files with 203 additions and 487 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue