fixed wrong message about not writable dir

This commit is contained in:
Ralf Becker 2005-06-14 21:36:52 +00:00
parent 7d5686a55c
commit d5d43df995

View File

@ -1322,7 +1322,7 @@
{
rename($path,str_replace('.css','.old.css',$path));
}
if (file_exists($path) && !is_writable($path))
if (file_exists($path) && !is_writable(dirname($path)))
{
$msg .= lang("Error: webserver is not allowed to write into '%1' !!!",dirname($path));
}