From d5d43df9958f9821f7af72e07be14eb5a800daa3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 14 Jun 2005 21:36:52 +0000 Subject: [PATCH] fixed wrong message about not writable dir --- etemplate/inc/class.editor.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.editor.inc.php b/etemplate/inc/class.editor.inc.php index abc9597ccf..bb040c5ef1 100644 --- a/etemplate/inc/class.editor.inc.php +++ b/etemplate/inc/class.editor.inc.php @@ -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)); }