1
0
mirror of https://github.com/flarum/core.git synced 2025-08-19 06:41:44 +02:00

Support running in subdirectory with base_path config

This commit is contained in:
Toby Zerner
2015-08-13 12:58:59 +09:30
parent aec83b295a
commit 9c7fab5d8c
5 changed files with 13 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ class ForumSerializer extends Serializer
$attributes = [
'title' => Core::config('forum_title'),
'baseUrl' => Core::config('base_url'),
'basePath' => Core::config('base_path'),
'apiUrl' => Core::config('api_url'),
'welcomeTitle' => Core::config('welcome_title'),
'welcomeMessage' => Core::config('welcome_message'),