This commit is contained in:
Franz Liedke 2015-06-20 17:56:56 +02:00
parent 195a3e42d8
commit 3a0103de7b

View File

@ -6,7 +6,6 @@ use Flarum\Assets\JsCompiler;
use Flarum\Assets\LessCompiler;
use Flarum\Core;
use Flarum\Forum\Events\RenderView;
use Flarum\Forum\Loaders\LoaderInterface;
use Flarum\Locale\JsCompiler as LocaleJsCompiler;
use Flarum\Support\Actor;
use Flarum\Support\HtmlAction;
@ -37,8 +36,9 @@ class IndexAction extends HtmlAction
public function render(Request $request, $params = [])
{
$config = $this->database->table('config')->whereIn('key', ['base_url', 'api_url', 'forum_title', 'welcome_title', 'welcome_message'])->lists('value', 'key');
$data = [];
$config = $this->database->table('config')
->whereIn('key', ['base_url', 'api_url', 'forum_title', 'welcome_title', 'welcome_message'])
->lists('value', 'key');
$session = [];
$alert = $this->session->get('alert');