restore THEMEPATH variable in mod/view

This commit is contained in:
Tobias Diekershoff 2019-01-22 10:36:42 +01:00
parent 85ff976f83
commit 31fedf359d
1 changed files with 1 additions and 0 deletions

View File

@ -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");
}