Merge pull request #4951 from MrPetovan/bug/4946-move-current-theme-to-app
Move current_theme() to App
This commit is contained in:
commit
bd0ba24518
11 changed files with 284 additions and 294 deletions
|
@ -513,7 +513,7 @@ function load_view_file($s) {
|
|||
return $content;
|
||||
}
|
||||
|
||||
$theme = current_theme();
|
||||
$theme = $a->getCurrentTheme();
|
||||
|
||||
if (file_exists("$d/theme/$theme/$b")) {
|
||||
$stamp1 = microtime(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue