From eb2425ec0610455c098bfcd715292cd0ec525c4c Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 8 Oct 2006 16:39:33 +0000 Subject: [PATCH 1/1] Missed a spot. Please use less accusatory language when telling ppl they broke plugins or other things, cuz you make goofs too! ;-) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11868 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- class/template/Template.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/class/template/Template.class.php b/class/template/Template.class.php index 20e82bff..b5c761b1 100644 --- a/class/template/Template.class.php +++ b/class/template/Template.class.php @@ -741,9 +741,9 @@ class Template $engine = $this->get_template_config($template_set_id, 'template_engine', SQ_PHP_TEMPLATE); $file_list = array('plugins/' . $plugin . '/' . $file => array( - 'PATH' => $file_path, - 'SET_ID' => $template_set_id, - 'ENGINE' => $engine, + 'PATH' => substr($file_path, strlen(SM_PATH)), + 'SET_ID' => $template_set_id, + 'ENGINE' => $engine, ) ); $this->template_file_cache -- 2.25.1