]> git.mxchange.org Git - friendica.git/blobdiff - src/Render/FriendicaSmartyEngine.php
We now use the regular probing function
[friendica.git] / src / Render / FriendicaSmartyEngine.php
index 949ac58c82d1f4b1a82c9babeac4acc1a7ea512e..c6e95ee068498ca0505577597057e761f5ac273e 100644 (file)
@@ -62,7 +62,7 @@ class FriendicaSmartyEngine implements ITemplateEngine
                        $root = $root . '/';
                }
 
-               $theme = current_theme();
+               $theme = $a->getCurrentTheme();
                $filename = $template::SMARTY3_TEMPLATE_FOLDER . '/' . $file;
 
                if (file_exists("{$root}view/theme/$theme/$filename")) {