mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 16:23:16 +00:00
Update AdminSettingsController
This commit is contained in:
parent
8e5e2fbc5f
commit
323dca11a8
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ trait AdminSettingsController
|
||||||
public function settingsConfig(Request $request)
|
public function settingsConfig(Request $request)
|
||||||
{
|
{
|
||||||
$editor = [];
|
$editor = [];
|
||||||
return view('admin.settings.config', compact('editor'));
|
$config = file_get_contents(base_path('.env'));
|
||||||
|
return view('admin.settings.config', compact('editor', 'config'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function settingsMaintenance(Request $request)
|
public function settingsMaintenance(Request $request)
|
||||||
|
|
Loading…
Reference in a new issue