X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fview.php;h=f4f1692cb6ffdfcdb9b9689c620191ff001c6e08;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=c59eea29827243de3b2f0fac316cb65465957182;hpb=dbc6eb5422b81c95d6e1eea63c8ace794ccd2039;p=friendica.git diff --git a/mod/view.php b/mod/view.php index c59eea2982..f4f1692cb6 100644 --- a/mod/view.php +++ b/mod/view.php @@ -13,6 +13,8 @@ function view_init(App $a) if ($a->argc == 4){ $theme = $a->argv[2]; + // set the path for later use in the theme styles + $THEMEPATH = "view/theme/$theme"; if(file_exists("view/theme/$theme/style.php")) require_once("view/theme/$theme/style.php"); }