From d635addc08db31aca8017f271b28d9a7cfcbbf1f Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Thu, 18 Jan 2007 23:49:32 +0000 Subject: [PATCH] Put mails templates cache in spool/mails_c instead of spool/templates_c/mails because clear cache removes subdirectories git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1356 839d8a87-29fc-0310-9880-83ba4fa771e5 --- Makefile | 4 ++-- classes/plmailer.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e6a32b0..6f777a1 100644 --- 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 $@ diff --git a/classes/plmailer.php b/classes/plmailer.php index 46a854e..0cb0b81 100644 --- a/classes/plmailer.php +++ b/classes/plmailer.php @@ -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/"; -- 2.1.4