mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Allow an App to define its own LOGS and CACHE paths outside TMP
This commit is contained in:
parent
dbe3234b56
commit
d4fa5d000c
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue