Config file editing troubleshooting

main
Yasen Pramatarov 2024-11-01 19:42:48 +02:00
parent 52e5afffbc
commit d492bff7b7
1 changed files with 0 additions and 2 deletions

View File

@ -222,8 +222,6 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
include '../app/templates/config-configfile-edit.php';
} else {
if ($userObject->hasRight($user_id, 'view config file')) {
// we need to reload config, it could be edited
$config = require $config_file;
include '../app/templates/config-configfile.php';
} else {
include '../app/templates/error-unauthorized.php';