From: web Date: Tue, 30 Jan 2007 14:03:29 +0000 (+0000) Subject: Fix smarty spool_root X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d9df32c315c386a9e442c94751698e2d358d9669;p=banana.git Fix smarty spool_root git-svn-id: svn+ssh://murphy/home/svn/banana/branches/banana-1.5@190 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- 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'); }