X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fview.php;h=15b3733b3fc974f45dcb21d2c2bec7a3728b6ef3;hb=31064a15eca8c70ff154e91116bb5928c99f7143;hp=33aa23f44751c2c809bd49b1f244cd5952609cbf;hpb=007d67a998eb8f26228ddd22bb0323d54af9af8c;p=friendica.git diff --git a/mod/view.php b/mod/view.php index 33aa23f447..15b3733b3f 100644 --- a/mod/view.php +++ b/mod/view.php @@ -9,7 +9,8 @@ function view_init($a){ if ($a->argc == 4){ $theme = $a->argv[2]; $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();