X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fview.php;h=f4f1692cb6ffdfcdb9b9689c620191ff001c6e08;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=a6c482049c650bbf91eaa53929d0964f952ab13a;hpb=5a6da8b447430174ae231a3b8203fd4bd8416cc1;p=friendica.git diff --git a/mod/view.php b/mod/view.php index a6c482049c..f4f1692cb6 100644 --- a/mod/view.php +++ b/mod/view.php @@ -1,18 +1,23 @@ 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")) { + if(file_exists("view/theme/$theme/style.php")) require_once("view/theme/$theme/style.php"); - } } - killme(); + exit(); }