aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Context.php
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-08-21 22:44:03 +0200
committerGravatar GitHub <noreply@github.com> 2022-08-21 22:44:03 +0200
commit4214954ea169e6cf6b9a7b2927dce892463c851c (patch)
tree2ef0a50dfe56343a51eaeb4864f3eee77d7d82d2 /app/Models/Context.php
parent85991d1c5ca1b29503e11be65a33da9a7e0c154a (diff)
Improved: error page (#4465)
* error page: true HTML page * error page: http500 erorr * error page: add CSP header * 'log.txt' replaced by LOG_FILENAME * use ADMIN_LOG * log.txt => LOG_FILENAME * error message: add <title> * Docs created * delete: documentation on error message page * line break added * added: new line at the end * typo fixed * Update lib/lib_rss.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update lib/lib_rss.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Minz HTTP 500 Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/Models/Context.php')
-rw-r--r--app/Models/Context.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Context.php b/app/Models/Context.php
index 5b7c89089..fed2a6767 100644
--- a/app/Models/Context.php
+++ b/app/Models/Context.php
@@ -100,7 +100,7 @@ class FreshRSS_Context {
$user_conf = Minz_Configuration::get('user');
FreshRSS_Context::$user_conf = $user_conf;
} catch (Exception $ex) {
- Minz_Log::warning($ex->getMessage(), USERS_PATH . '/_/log.txt');
+ Minz_Log::warning($ex->getMessage(), USERS_PATH . '/_/' . LOG_FILENAME);
}
}
if (FreshRSS_Context::$user_conf == null) {