Skip to content

Commit

Permalink
Allow an App to define its own LOGS and CACHE paths outside TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas de Jong committed Aug 5, 2012
1 parent dbe3234 commit d4fa5d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Cake/bootstrap.php
Expand Up @@ -90,12 +90,16 @@
/**
* 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.
Expand Down

0 comments on commit d4fa5d0

Please sign in to comment.