- fix deletion of old php-fcgi-starter (again), refs #367

This commit is contained in:
Michael Kaufmann (d00p)
2010-09-27 06:38:42 +00:00
parent 9c7142817d
commit 84d9212582

View File

@@ -114,7 +114,8 @@ while($row = $db->fetch_array($result_tasks))
}
// now get rid of old stuff
//(but append /* so we don't delete the directory)
safe_exec('rm -rf '. escapeshellarg(makeCorrectFile($configdir.'/*')));
$configdir.='/*';
safe_exec('rm -rf '. makeCorrectFile($configdir));
}
}