restore THEMEPATH variable in mod/view
This commit is contained in:
parent
85ff976f83
commit
31fedf359d
|
@ -13,6 +13,7 @@ function view_init(App $a)
|
||||||
|
|
||||||
if ($a->argc == 4){
|
if ($a->argc == 4){
|
||||||
$theme = $a->argv[2];
|
$theme = $a->argv[2];
|
||||||
|
$THEMEPATH = "view/theme/$theme";
|
||||||
if(file_exists("view/theme/$theme/style.php"))
|
if(file_exists("view/theme/$theme/style.php"))
|
||||||
require_once("view/theme/$theme/style.php");
|
require_once("view/theme/$theme/style.php");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue