| | |
| | | |
| | | // Maintenance mode |
| | | $maintenance_mode = false; |
| | | $maintenance_mode_error = ''; |
| | | $app->uses('ini_parser,getconf'); |
| | | $server_config_array = $app->getconf->get_global_config('misc'); |
| | | if($server_config_array['maintenance_mode'] == 'y'){ |
| | |
| | | } |
| | | |
| | | $app->tpl->setVar('error', $error); |
| | | $app->tpl->setVar('pw_lost_txt', $app->lng('pw_lost_txt')); |
| | | $app->tpl->setVar('username_txt', $app->lng('username_txt')); |
| | | $app->tpl->setVar('password_txt', $app->lng('password_txt')); |
| | | $app->tpl->setVar('login_button_txt', $app->lng('login_button_txt')); |