From 94f2611b48d4a97547573715be532020d4a6995b Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Mon, 15 Jun 2009 02:37:33 +0000 Subject: [PATCH] Super hack to fix a production issue with the shared modules. git-svn-id: http://svn.cleancode.org/svn/pickles@136 4d10bc64-7434-11dc-a737-d2d0f8310089 --- classes/Display/Smarty.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes/Display/Smarty.php b/classes/Display/Smarty.php index 00c1622..6641fd8 100644 --- a/classes/Display/Smarty.php +++ b/classes/Display/Smarty.php @@ -95,6 +95,11 @@ class Display_Smarty extends Display_Common { if (!file_exists($template)) { $shared_template = PICKLES_PATH . 'common/templates/' . ($this->shared_module_filename == false ? $this->module_filename : $this->shared_module_filename) . '.tpl'; + + // @todo SUPER HACKINSHIT + if ($this->module_filename == 'store/admin') { + $shared_template = PICKLES_PATH . 'common/templates/store/admin.tpl'; + } if (file_exists($shared_template)) { $template = $shared_template;