diff options
author | maTh <math-home@web.de> | 2022-08-21 22:44:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-21 22:44:03 +0200 |
commit | 4214954ea169e6cf6b9a7b2927dce892463c851c (patch) | |
tree | 2ef0a50dfe56343a51eaeb4864f3eee77d7d82d2 /constants.php | |
parent | 85991d1c5ca1b29503e11be65a33da9a7e0c154a (diff) | |
download | freshrss-4214954ea169e6cf6b9a7b2927dce892463c851c.tar.gz freshrss-4214954ea169e6cf6b9a7b2927dce892463c851c.zip |
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 'constants.php')
-rw-r--r-- | constants.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/constants.php b/constants.php index fa4e54233..76593703e 100644 --- a/constants.php +++ b/constants.php @@ -42,7 +42,8 @@ defined('DATA_PATH') or define('DATA_PATH', FRESHRSS_PATH . '/data'); defined('UPDATE_FILENAME') or define('UPDATE_FILENAME', DATA_PATH . '/update.php'); defined('USERS_PATH') or define('USERS_PATH', DATA_PATH . '/users'); -defined('ADMIN_LOG') or define('ADMIN_LOG', USERS_PATH . '/_/log.txt'); +defined('LOG_FILENAME') or define('LOG_FILENAME', 'log.txt'); +defined('ADMIN_LOG') or define('ADMIN_LOG', USERS_PATH . '/_/' . LOG_FILENAME); defined('API_LOG') or define('API_LOG', USERS_PATH . '/_/log_api.txt'); defined('CACHE_PATH') or define('CACHE_PATH', DATA_PATH . '/cache'); defined('PSHB_LOG') or define('PSHB_LOG', USERS_PATH . '/_/log_pshb.txt'); |