test if cache directory exists before launching debug bar

This commit is contained in:
Manuel Raynaud
2013-09-18 09:34:48 +02:00
parent a27405e0cc
commit 387c0d00c3
16 changed files with 12 additions and 87 deletions

View File

@@ -44,12 +44,14 @@ class CheckPermission extends BaseInstall
const DIR_CONF = 'local/config';
const DIR_LOG = 'log';
const DIR_CACHE = 'cache';
const DIR_WEB = 'web';
/** @var array Directory needed to be writable */
protected $directoriesToBeWritable = array(
self::DIR_CONF,
self::DIR_LOG,
self::DIR_CACHE,
self::DIR_WEB,
);
/** @var array Minimum server configuration necessary */