Box_Requirements bug fixes

This commit is contained in:
4Giedrius committed 2014-12-09 10:57:37 +02:00
1 parent 5307816d26
commit 570243b520
1 file changed
+2
+2
View File
@@ -27,6 +27,7 @@ class Box_Requirements implements \Box\InjectionAwareInterface
private $_all_ok = true;
private $_app_path = BB_PATH_ROOT;
private $_options = array();
public function __construct()
{
@@ -160,6 +161,7 @@ class Box_Requirements implements \Box\InjectionAwareInterface
{
$folders = $this->_options['writable_folders'];
$result = array();
foreach($folders as $folder) {
if($this->checkPerms($folder)) {
$result[$folder] = true;