]> git.mxchange.org Git - friendica.git/blobdiff - mod/view.php
Merge pull request #2149 from annando/issue-1921
[friendica.git] / mod / view.php
index 33aa23f44751c2c809bd49b1f244cd5952609cbf..15b3733b3fc974f45dcb21d2c2bec7a3728b6ef3 100644 (file)
@@ -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();