Allow an App to define its own LOGS and CACHE paths outside TMP

This commit is contained in:
Nicholas de Jong 2012-08-05 14:55:22 +10:00
parent dbe3234b56
commit d4fa5d000c

View file

@ -90,12 +90,16 @@ if (!defined('TMP')) {
/** /**
* Path to the logs directory. * Path to the logs directory.
*/ */
if (!defined('LOGS')) {
define('LOGS', TMP . 'logs' . DS); define('LOGS', TMP . 'logs' . DS);
}
/** /**
* Path to the cache files directory. It can be shared between hosts in a multi-server setup. * 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); define('CACHE', TMP . 'cache' . DS);
}
/** /**
* Path to the vendors directory. * Path to the vendors directory.