1
0
mirror of https://github.com/flarum/core.git synced 2025-10-15 00:44:40 +02:00

Change base URL etc. in config.php file

This commit is contained in:
Franz Liedke
2015-08-27 00:47:54 +02:00
parent 49f20995b2
commit 9ec54ad892
10 changed files with 46 additions and 17 deletions

View File

@@ -76,7 +76,7 @@ class RequestPasswordResetHandler
// password route be part of core??
$data = [
'username' => $user->username,
'url' => $this->settings->get('base_url').'/reset/'.$token->id,
'url' => Core::url().'/reset/'.$token->id,
'forumTitle' => $this->settings->get('forum_title'),
];

View File

@@ -108,7 +108,7 @@ class EmailConfirmationMailer
// email route be part of core??
return [
'username' => $user->username,
'url' => $this->settings->get('base_url').'/confirm/'.$token->id,
'url' => Core::url().'/confirm/'.$token->id,
'forumTitle' => $this->settings->get('forum_title')
];
}