- updated "maintenance hint" with new release information v1.4.1
- improved "maintenance hint" rendering, toggle visibility by HTTP response header
This commit is contained in:
@@ -76,7 +76,12 @@ class Controller {
|
||||
$this->initSession($f3);
|
||||
|
||||
if($f3->get('AJAX')){
|
||||
header('Content-type: application/json');
|
||||
header('Content-Type: application/json');
|
||||
|
||||
// send "maintenance" Header -> e.g. before server update
|
||||
if($modeMaintenance = (int)Config::getPathfinderData('login.mode_maintenance')){
|
||||
header('Pf-Maintenance: ' . $modeMaintenance);
|
||||
}
|
||||
}else{
|
||||
$this->initResource($f3);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user