From 31fedf359dfc7fe3c6de9118d8498ad845ba0c81 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 22 Jan 2019 10:36:42 +0100 Subject: [PATCH] restore THEMEPATH variable in mod/view --- mod/view.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/view.php b/mod/view.php index c59eea298..640606bce 100644 --- a/mod/view.php +++ b/mod/view.php @@ -13,6 +13,7 @@ function view_init(App $a) if ($a->argc == 4){ $theme = $a->argv[2]; + $THEMEPATH = "view/theme/$theme"; if(file_exists("view/theme/$theme/style.php")) require_once("view/theme/$theme/style.php"); }