setName('Filesystem'); $paths = [ $baseDir . '/config', $baseDir . '/config/stamp', $baseDir . '/config/status', $baseDir . '/config/minilogos', $baseDir . '/config/wm', $conf->get(['main', 'storage', 'log']), $baseDir . '/tmp', $baseDir . '/tmp/locks', $conf->get(['main', 'storage', 'caption']), $conf->get(['main', 'storage', 'lazaret']), $conf->get(['main', 'storage', 'download']), $conf->get(['main', 'storage', 'cache']), $baseDir . '/www/custom', ]; foreach ($paths as $path) { $this->addRequirement( is_writable($path), "$path directory must be writable", "Change the permissions of the \"$path\" directory so that the web server can write into it." ); } } }