mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Merge pull request #754 from ndejong/master
Prevent errors when App defines custom LOGS and CACHE paths. Fixes #9
This commit is contained in:
commit
797b6f3579
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…
Add table
Reference in a new issue