protected function checkDirectoryAndFileStatus($path, $files)
{
if (!$this->Framework->File->isDirectory($path)) {
// Directory doesn't exist so let's make it
return $this->Framework->File->makeDirectory($path, $mode = 0766, $recursive = true);
}
return true;
}