From d9df32c315c386a9e442c94751698e2d358d9669 Mon Sep 17 00:00:00 2001 From: web Date: Tue, 30 Jan 2007 14:03:29 +0000 Subject: [PATCH] Fix smarty spool_root git-svn-id: svn+ssh://murphy/home/svn/banana/branches/banana-1.5@190 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- banana/page.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/banana/page.inc.php b/banana/page.inc.php index 41576f6..dcdfb67 100644 --- a/banana/page.inc.php +++ b/banana/page.inc.php @@ -26,7 +26,7 @@ class BananaPage extends Smarty $this->compile_check = Banana::$debug_smarty; $this->template_dir = dirname(__FILE__) . '/templates/'; - $this->compile_dir = dirname(dirname(__FILE__)) . '/spool/templates_c/'; + $this->compile_dir = Banana::$spool_root . '/templates_c/'; $this->register_prefilter('banana_trimwhitespace'); } -- 2.1.4