From 570243b520f56d8d4ef7c9cd68994d539812e8b9 Mon Sep 17 00:00:00 2001 From: 4Giedrius <4giedrius@gmail.com> Date: Tue, 9 Dec 2014 10:57:37 +0200 Subject: [PATCH] Box_Requirements bug fixes --- src/bb-library/Box/Requirements.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bb-library/Box/Requirements.php b/src/bb-library/Box/Requirements.php index 039a8debc..a3787e93e 100644 --- a/src/bb-library/Box/Requirements.php +++ b/src/bb-library/Box/Requirements.php @@ -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;