setName('Filesystem'); $paths = [ $baseDir . '/config', $baseDir . '/config/stamp', $baseDir . '/config/status', $baseDir . '/config/minilogos', $baseDir . '/config/templates', $baseDir . '/config/topics', $baseDir . '/config/wm', $baseDir . '/logs', $baseDir . '/tmp', $baseDir . '/tmp/locks', $baseDir . '/tmp/caption', $baseDir . '/tmp/lazaret', $baseDir . '/tmp/download', $baseDir . '/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." ); } } }