Value not in rtrim but not needed anyway

This commit is contained in:
Matt Pass
2012-07-27 13:56:21 +01:00
parent f81ea9fe57
commit b0012bee27

View File

@@ -55,7 +55,7 @@ if ($_GET['action']=="newFolder") {
echo '<script>top.ICEcoder.selectedFiles=[];top.ICEcoder.updateFileManagerList(\'add\',\''.$fileLoc.'\',\''.$fileName.'\');top.ICEcoder.serverMessage();top.ICEcoder.serverQueue("del",0);action="newFolder";</script>';
} else {
if (!is_writable($docRoot.$iceRoot.$file)) {
echo "<script>top.ICEcoder.message('Sorry, cannot create folder at\\n".rtrim($file)."');</script>";
echo "<script>top.ICEcoder.message('Sorry, cannot create folder at\\n".$file."');</script>";
} else {
echo '<script>top.ICEcoder.message(\'Sorry, you need to be logged in to add folders\');</script>';
}