diff options
author | friendica <info@friendica.com> | 2013-05-15 22:27:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-15 22:27:35 -0700 |
commit | d20a0cb6abe92e05f4387a6b3ad504b422275fb1 (patch) | |
tree | 386e650aa46efd8d60885b3d6e9083727080adc4 /include/friendica_smarty.php | |
parent | b00c900fa2d999657b17caf577acea5ab772dec1 (diff) | |
download | volse-hubzilla-d20a0cb6abe92e05f4387a6b3ad504b422275fb1.tar.gz volse-hubzilla-d20a0cb6abe92e05f4387a6b3ad504b422275fb1.tar.bz2 volse-hubzilla-d20a0cb6abe92e05f4387a6b3ad504b422275fb1.zip |
fix intltext template driver
Diffstat (limited to 'include/friendica_smarty.php')
-rwxr-xr-x | include/friendica_smarty.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/friendica_smarty.php b/include/friendica_smarty.php index e34fac003..1e8ef5406 100755 --- a/include/friendica_smarty.php +++ b/include/friendica_smarty.php @@ -90,10 +90,10 @@ class FriendicaSmartyEngine implements ITemplateEngine { public function get_intltext_template($file, $root='') { $a = get_app(); - if(file_exists("view/{$a->language}/$s")) - $template_file = "view/{$a->language}/$s"; - elseif(file_exists("view/en/$s")) - $template_file = "view/en/$s"; + if(file_exists("view/{$a->language}/$file")) + $template_file = "view/{$a->language}/$file"; + elseif(file_exists("view/en/$file")) + $template_file = "view/en/$file"; else $template_file = theme_include($file,$root); if($template_file) { |