mirror of
https://github.com/flarum/core.git
synced 2025-10-19 18:56:44 +02:00
Fix installation regressions
This commit is contained in:
@@ -138,7 +138,7 @@ class Application extends Container implements ApplicationContract
|
||||
*/
|
||||
public function url($path = null)
|
||||
{
|
||||
$config = $this->make('flarum.config');
|
||||
$config = $this->isInstalled() ? $this->make('flarum.config') : [];
|
||||
$url = array_get($config, 'url', $_SERVER['REQUEST_URI']);
|
||||
|
||||
if (is_array($url)) {
|
||||
|
Reference in New Issue
Block a user