There is an issue with parse_ini_file which for some reason change the t...

There is an issue with parse_ini_file which for some reason change the two \ into one \ in the cache ini file when Vanilla is running from a Windows network share.

For example: (two backslashes)
gdn = "\\networkshare\folder\Garden/library/core/class.gdn.php"

Will become: (one backslash)
gdn = "\networkshare\folder\Garden/library/core/class.gdn.php"

This fix will produce (forward slash)
gdn = "//networkshare/folder/Garden/library/core/class.gdn.php"

This fix will enable Vanilla to run on a Windows network share where without it, Vanilla will hit a "bonk" screen.

ok, here is the write up of the method.

fixBackSlash will check to see if the path is not empty and if it has a form of drive: then replace any "\" with "/" to avoid the parse_fn_file bug and it also further check to see if it has only one "/" and the OS is "WIN" then it will prepend "/" in front of the path so it has the correct file path.