$test['descr'] = _('Temporary directory');
$test['type'] = 3;
- $test['test'] = $path_to_root.'/tmp';
+ $test['test'] = VARLIB_PATH;
$test['result'] = is_dir($test['test']) && is_writable($test['test']);
$test['comments'][] = sprintf(_("'%s' is not writeable"), $test['test']);
return $test;
$themedir = opendir($fname);
while (false !== ($fname = readdir($themedir)))
{
- if ($fname!='.' && $fname!='..' && $fname!='CVS' && is_dir($path_to_root.'/themes/'.$fname)
- && !in_array($fname, array('aqua', 'cool', 'default')))
+ if ($fname!='.' && $fname!='..' && is_dir($path_to_root.'/themes/'.$fname)
+ && !in_array($fname, array('canvas', 'default', 'dropdown')))
{
$test['test'][] = $fname;
$test['result'] = is_writable($path_to_root.'/themes/'.$fname);