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