Update AdminSettingsController

This commit is contained in:
Daniel Supernault 2019-06-15 20:28:03 -06:00
parent 8e5e2fbc5f
commit 323dca11a8
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -26,7 +26,8 @@ trait AdminSettingsController
public function settingsConfig(Request $request)
{
$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)