Backport
authorx2003bruneau <x2003bruneau@9869982d-c50d-0410-be91-f2a2ec7c7c7b>
Tue, 30 Jan 2007 16:18:03 +0000 (16:18 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 4 Jan 2008 23:35:25 +0000 (00:35 +0100)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@191 9869982d-c50d-0410-be91-f2a2ec7c7c7b

banana/page.inc.php

index 41576f6..dcdfb67 100644 (file)
@@ -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');
     
     }