X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fview.php;h=f4f1692cb6ffdfcdb9b9689c620191ff001c6e08;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=33aa23f44751c2c809bd49b1f244cd5952609cbf;hpb=f39e8126773e2a030cf84c8b9d428cc78546c1b9;p=friendica.git diff --git a/mod/view.php b/mod/view.php index 33aa23f447..f4f1692cb6 100644 --- a/mod/view.php +++ b/mod/view.php @@ -1,16 +1,23 @@ argc == 4){ $theme = $a->argv[2]; + // set the path for later use in the theme styles $THEMEPATH = "view/theme/$theme"; - require_once("view/theme/$theme/style.php"); + if(file_exists("view/theme/$theme/style.php")) + require_once("view/theme/$theme/style.php"); } - killme(); + exit(); }