%s %s toolkit->getSystemConfig('Misc', 'WriteablePath'); foreach ($this->writeableFolders as $folder_path) { $file_path = FULL_PATH . str_replace('$1', $writeable_base, $folder_path); if (file_exists($file_path)) { $folder_status = !is_writable($file_path) ? 'FAILED' : 'OK'; echo sprintf($folder_tpl, $file_path, $folder_status); } } ?>