blueriver/MuraCMS — pull request #1443 by cameroncf (2014-05-28 13:33:40+00:00)
Title: Resolved case sensitivity issue

This is a new pull request based on findings from conversation on Pull request [1440](https://github.com/blueriver/MuraCMS/pull/1440)

The Default site has an uppercase D on the filesystem but here in the code it's a lowercase. This has a ripple effect in the bowels of fileWriter where the copyDir function loops over files and writes them. Specifically, when the code replaces the "from" dir with the "to" directory in [fileWriter.cfc](https://github.com/blueriver/MuraCMS/blob/develop/requirements/mura/fileWriter.cfc#L298)

Since this is a replace and not a replaceNoCase() it's NOT replacing the value and you end up with the copy from and to being the same value for the fileCopy on [line 304](https://github.com/blueriver/MuraCMS/blob/develop/requirements/mura/fileWriter.cfc#L304).

I think that this should remain a case sensitive replace(), we just need to get the case consistent across the code.