]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
Replace current_theme() and current_theme_url() calls
[friendica.git] / include / text.php
index 5e189d58f14857f480d4b291e8d513a16dacc0b3..52b51bdb0cd1e34c71389134f738cca04aee01cb 100644 (file)
@@ -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);