From b982c6d6c463ebd29ce6b913e50293d8bfa19954 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Thu, 14 Mar 2013 18:13:37 +0100 Subject: [PATCH] save Tpex commit --- core/lib/Thelia/Core/Template/Parser.php | 2 +- core/lib/Thelia/Tpex | 2 +- local/plugins/Test/Loop/Foo.php | 28 ++++++++++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 local/plugins/Test/Loop/Foo.php diff --git a/core/lib/Thelia/Core/Template/Parser.php b/core/lib/Thelia/Core/Template/Parser.php index e25606df6..6d29541c4 100644 --- a/core/lib/Thelia/Core/Template/Parser.php +++ b/core/lib/Thelia/Core/Template/Parser.php @@ -152,7 +152,7 @@ class Parser implements ParserInterface $tpex->init($this->container->get("request"), $this->container->get("dispatcher"), $content, THELIA_TEMPLATE_DIR . rtrim($this->template, "/") . "/"); $tpex->configure( - array(), + array("foo" => "Test\Loop\Foo"), array(), array( "secure" => "Thelia\Core\Template\BaseParam\Secure" diff --git a/core/lib/Thelia/Tpex b/core/lib/Thelia/Tpex index b591fc524..35d0fa177 160000 --- a/core/lib/Thelia/Tpex +++ b/core/lib/Thelia/Tpex @@ -1 +1 @@ -Subproject commit b591fc524df0982852f1bef74d2b3d00ae541ed7 +Subproject commit 35d0fa177dc0e2b6b2a71fdbcf864d249f87a5ea diff --git a/local/plugins/Test/Loop/Foo.php b/local/plugins/Test/Loop/Foo.php new file mode 100644 index 000000000..580d9f6bb --- /dev/null +++ b/local/plugins/Test/Loop/Foo.php @@ -0,0 +1,28 @@ +