Browse Source

Merge pull request #6488 from tobiasd/20190122-modview

restore THEMEPATH variable in mod/view
pull/6497/head
Hypolite Petovan 2 years ago
committed by GitHub
parent
commit
af97e1d687
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      mod/view.php

+ 2
- 0
mod/view.php View File

@ -13,6 +13,8 @@ function view_init(App $a)
if ($a->argc == 4){
$theme = $a->argv[2];
// set the path for later use in the theme styles
$THEMEPATH = "view/theme/$theme";
if(file_exists("view/theme/$theme/style.php"))
require_once("view/theme/$theme/style.php");
}


Loading…
Cancel
Save