From 680e8b53d6e86c6d3e1c62ce9523e6e81ea18acc Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Thu, 3 Sep 2015 08:02:26 +0200 Subject: [PATCH] Use Core helper for checking installation status --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index bc3a6e8..28b187a 100644 --- a/index.php +++ b/index.php @@ -20,7 +20,7 @@ $app = require __DIR__.'/flarum/bootstrap.php'; // If Flarum's configuration exists, then we can assume that installation has // been completed. We will set up a middleware pipe to route the request through // to one of the main forum actions. -if ($app->bound('flarum.config')) { +if (Core::isInstalled()) { $app->register('Flarum\Forum\ForumServiceProvider'); $flarum = new MiddlewarePipe();