restore THEMEPATH variable in mod/view
This commit is contained in:
parent
85ff976f83
commit
31fedf359d
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue