page.inc.php | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@260
9869982d-c50d-0410-be91-
f2a2ec7c7c7b
$this->template_dir = dirname(__FILE__) . '/templates/';
$this->compile_dir = Banana::$spool_root . '/templates_c/';
$this->register_prefilter('banana_trimwhitespace');
$this->template_dir = dirname(__FILE__) . '/templates/';
$this->compile_dir = Banana::$spool_root . '/templates_c/';
$this->register_prefilter('banana_trimwhitespace');
+ if (!is_dir($this->compile_dir)) {
+ mkdir($this->compile_dir);
+ }
}
/** Add an error message
}
/** Add an error message