summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-01-30 15:56:14 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-01-30 15:58:40 +0000
commit8136679edbff8170fb92bd6e8dd8df8eb645bb1a (patch)
treee90cb17ce16353bc877f125146200640ded1ac11 /index.php
parentdf8baf00ff3985a249a86cf9e10cb91294ee04ca (diff)
downloadwebtrees-8136679edbff8170fb92bd6e8dd8df8eb645bb1a.tar.gz
webtrees-8136679edbff8170fb92bd6e8dd8df8eb645bb1a.tar.bz2
webtrees-8136679edbff8170fb92bd6e8dd8df8eb645bb1a.zip
Converting themes to modules
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index cfdd9d27e2..e9134e9613 100644
--- a/index.php
+++ b/index.php
@@ -249,7 +249,8 @@ try {
$theme = app()->make(WebtreesTheme::class);
}
- Theme::theme($theme);
+ // Bind this theme into the container
+ app()->instance(ModuleThemeInterface::class, $theme);
// Remember this setting
Session::put('theme_id', $theme->name());