From d4fa5d000ca6078ebc461b820a759f45554a245f Mon Sep 17 00:00:00 2001 From: Nicholas de Jong Date: Sun, 5 Aug 2012 14:55:22 +1000 Subject: [PATCH] Allow an App to define its own LOGS and CACHE paths outside TMP --- lib/Cake/bootstrap.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Cake/bootstrap.php b/lib/Cake/bootstrap.php index 40ac76b4d..2c013b2d5 100644 --- a/lib/Cake/bootstrap.php +++ b/lib/Cake/bootstrap.php @@ -90,12 +90,16 @@ if (!defined('TMP')) { /** * Path to the logs directory. */ +if (!defined('LOGS')) { define('LOGS', TMP . 'logs' . DS); +} /** * Path to the cache files directory. It can be shared between hosts in a multi-server setup. */ +if (!defined('CACHE')) { define('CACHE', TMP . 'cache' . DS); +} /** * Path to the vendors directory.