Merge pull request #754 from ndejong/master

Prevent errors when App defines custom LOGS and CACHE paths.

Fixes #9
This commit is contained in:
Mark Story 2012-08-05 06:21:45 -07:00
commit 797b6f3579

View file

@ -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.