Fix to path used here, needs pipes?

This commit is contained in:
Matt Pass
2014-10-18 22:17:39 +01:00
parent 4edbf8d79d
commit bfc1babb64

View File

@@ -166,7 +166,7 @@ var validatePerms = function() {
permText.split("")[2]*1 <0 || permText.split("")[2]*1 >7) {
canUpdate = false;
}
if (canUpdate) {top.ICEcoder.chmod('<?php echo str_replace($docRoot,"",$fileName);?>',permText)};
if (canUpdate) {top.ICEcoder.chmod('<?php echo str_replace("\\","|",str_replace("/","|",str_replace($docRoot,"",$fileName)));?>',permText)};
}
</script>