(cq) rename variable
This commit is contained in:
parent
7b8d8800fc
commit
80532ead63
|
@ -69,7 +69,7 @@ class AdminSettingController extends Controller
|
||||||
public function exportConfiguration()
|
public function exportConfiguration()
|
||||||
{
|
{
|
||||||
$keys = $this->config->getAppKeys(Application::APP_ID);
|
$keys = $this->config->getAppKeys(Application::APP_ID);
|
||||||
$config = [];
|
$appConfig = [];
|
||||||
$excludedKeys = [
|
$excludedKeys = [
|
||||||
'cache',
|
'cache',
|
||||||
'cache-categories',
|
'cache-categories',
|
||||||
|
@ -80,11 +80,11 @@ class AdminSettingController extends Controller
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$config[$key] = $this->config->getAppValue(Application::APP_ID, $key);
|
$appConfig[$key] = $this->config->getAppValue(Application::APP_ID, $key);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new DataDownloadResponse(
|
return new DataDownloadResponse(
|
||||||
json_encode($config, JSON_PRETTY_PRINT),
|
json_encode($appConfig, JSON_PRETTY_PRINT),
|
||||||
'config.json',
|
'config.json',
|
||||||
'text/json'
|
'text/json'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue