From abd6da73f5063bf9bf757c73f1407f3990a28fa6 Mon Sep 17 00:00:00 2001
From: Franz Liedke <franz@develophp.org>
Date: Thu, 27 Aug 2015 00:58:56 +0200
Subject: [PATCH] Fix config retrieval

---
 framework/core/src/Core.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/framework/core/src/Core.php b/framework/core/src/Core.php
index 63b0cd19d..4985b756b 100644
--- a/framework/core/src/Core.php
+++ b/framework/core/src/Core.php
@@ -33,10 +33,10 @@ class Core
 
     public static function url($name = null)
     {
-        $url = static::config('url');
+        $url = app('flarum.config')['url'];
 
         if ($name) {
-            $url .= '/' . static::config("paths.$name");
+            $url .= '/' . app('flarum.config')['paths'][$name];
         }
 
         return $url;