mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-13 17:53:56 -04:00
Avoid manual initialisations of system or user configuration (#3070)
* Avoid manual intialisations of system or user configuration More consistent use of Context * Simplify FreshRSS_Context::initUser * Remove a few manual get_user_configuration * A bit of debugging * Fix context user init * Fix install * Fix concurrency Concurrent requests could lead to bad race condition * Fix actualize cron Fix case when system i initialised several times
This commit is contained in:
committed by
GitHub
parent
7bc2cc5825
commit
9c6682e7ed
@@ -33,10 +33,12 @@ class FreshRSS_error_Controller extends Minz_ActionController {
|
||||
case 500:
|
||||
header('HTTP/1.1 500 Internal Server Error');
|
||||
$this->view->code = 'Error 500 - Internal Server Error';
|
||||
$this->view->errorMessage = 'Error 500 - Internal Server Error';
|
||||
break;
|
||||
case 503:
|
||||
header('HTTP/1.1 503 Service Unavailable');
|
||||
$this->view->code = 'Error 503 - Service Unavailable';
|
||||
$this->view->errorMessage = 'Error 503 - Service Unavailable';
|
||||
break;
|
||||
case 404:
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user