From 766cf709b730ce35ff1ab7685a5be18f01c69d77 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9sar=20D=2E=20Rodas?= Date: Sat, 7 Aug 2010 16:38:11 -0400 Subject: [PATCH] - Fixed little issue with function name --- lib/Haanga.php | 2 +- tests/tmp/assert_templates_autoescape.tpl.php | 2 +- tests/tmp/assert_templates_base.tpl.php | 2 +- tests/tmp/assert_templates_custom_tag.tpl.php | 2 +- tests/tmp/assert_templates_cycle.tpl.php | 2 +- tests/tmp/assert_templates_dummy.tpl.php | 2 +- tests/tmp/assert_templates_empty_loop.tpl.php | 2 +- tests/tmp/assert_templates_filter.tpl.php | 2 +- tests/tmp/assert_templates_first_of.tpl.php | 2 +- tests/tmp/assert_templates_if_else_simple.tpl.php | 2 +- tests/tmp/assert_templates_ifchanged.tpl.php | 2 +- tests/tmp/assert_templates_ifequals.tpl.php | 2 +- tests/tmp/assert_templates_in.tpl.php | 2 +- tests/tmp/assert_templates_inheritence_nested_block.tpl.php | 2 +- tests/tmp/assert_templates_inheritence_nested_block_duplicated.tpl.php | 2 +- tests/tmp/assert_templates_join.tpl.php | 2 +- tests/tmp/assert_templates_load.tpl.php | 2 +- tests/tmp/assert_templates_loop.tpl.php | 2 +- tests/tmp/assert_templates_nested_block.tpl.php | 2 +- tests/tmp/assert_templates_nested_block_second_parent.tpl.php | 2 +- tests/tmp/assert_templates_nested_block_second_parent_override.tpl.php | 2 +- tests/tmp/assert_templates_object.tpl.php | 2 +- tests/tmp/assert_templates_partial.tpl.php | 2 +- tests/tmp/assert_templates_pluralize.tpl.php | 2 +- tests/tmp/assert_templates_regroup.tpl.php | 2 +- tests/tmp/assert_templates_spaceless.tpl.php | 2 +- tests/tmp/assert_templates_subtemplate.tpl.php | 2 +- tests/tmp/assert_templates_templatetag.tpl.php | 2 +- tests/tmp/assert_templates_title.tpl.php | 2 +- tests/tmp/assert_templates_trans.tpl.php | 2 +- tests/tmp/assert_templates_truncatewords.tpl.php | 2 +- tests/tmp/assert_templates_variable_existe.tpl.php | 2 +- tests/tmp/assert_templates_with.tpl.php | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/lib/Haanga.php b/lib/Haanga.php index c60a54c..27a3716 100644 --- a/lib/Haanga.php +++ b/lib/Haanga.php @@ -227,7 +227,7 @@ class Haanga self::$has_compiled = FALSE; - $tpl = self::$templates_dir.'/'.$file; + $tpl = realpath(self::$templates_dir.'/'.$file); $fnc = sha1($tpl); $callback = "haanga_".$fnc; diff --git a/tests/tmp/assert_templates_autoescape.tpl.php b/tests/tmp/assert_templates_autoescape.tpl.php index 8075625..88aa7c4 100644 --- a/tests/tmp/assert_templates_autoescape.tpl.php +++ b/tests/tmp/assert_templates_autoescape.tpl.php @@ -1,6 +1,6 @@