X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fview.php;h=f4f1692cb6ffdfcdb9b9689c620191ff001c6e08;hb=40e9bbeb88961e494510a18f24d595abfb83f9f8;hp=33aa23f44751c2c809bd49b1f244cd5952609cbf;hpb=301527e5a269d652059bd73172a3a3598287ff9d;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(); }