diff --git a/lib/Controller/AdminSettingController.php b/lib/Controller/AdminSettingController.php index 0eb9b57..aa11d9a 100644 --- a/lib/Controller/AdminSettingController.php +++ b/lib/Controller/AdminSettingController.php @@ -69,7 +69,7 @@ class AdminSettingController extends Controller public function exportConfiguration() { $keys = $this->config->getAppKeys(Application::APP_ID); - $config = []; + $appConfig = []; $excludedKeys = [ 'cache', 'cache-categories', @@ -80,11 +80,11 @@ class AdminSettingController extends Controller continue; } - $config[$key] = $this->config->getAppValue(Application::APP_ID, $key); + $appConfig[$key] = $this->config->getAppValue(Application::APP_ID, $key); } return new DataDownloadResponse( - json_encode($config, JSON_PRETTY_PRINT), + json_encode($appConfig, JSON_PRETTY_PRINT), 'config.json', 'text/json' );