Browse Source

check for style.php existence before inclusion

pull/198/merge
friendica 10 years ago
parent
commit
f95db4382e
  1. 3
      mod/view.php

3
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();

Loading…
Cancel
Save