Put mails templates cache in spool/mails_c instead of spool/templates_c/mails because...
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 18 Jan 2007 23:49:32 +0000 (23:49 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 18 Jan 2007 23:49:32 +0000 (23:49 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1356 839d8a87-29fc-0310-9880-83ba4fa771e5

Makefile
classes/plmailer.php

index e6a32b0..6f777a1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,9 @@ q:
 ## core
 ##
 
-core: spool/templates_c spool/templates_c/mails include/globals.inc.php configs/platal.cron
+core: spool/templates_c spool/mails_c include/globals.inc.php configs/platal.cron
 
-spool/templates_c spool/templates_c/mails spool/uploads:
+spool/templates_c spool/mails_c spool/uploads:
        mkdir -p $@
        chmod o+w $@
 
index 46a854e..0cb0b81 100644 (file)
@@ -37,7 +37,7 @@ class PlMail extends Smarty
         $this->compile_check = true;
 
         $this->template_dir  = $globals->spoolroot . "/templates/";
-        $this->compile_dir   = $globals->spoolroot . "/spool/templates_c/mails/";
+        $this->compile_dir   = $globals->spoolroot . "/spool/mails_c/";
         $this->config_dir    = $globals->spoolroot . "/configs/";