corrected the normalizer

This commit is contained in:
Matthew Vale
2015-12-01 11:35:23 +00:00
parent 8df22f0030
commit d520226c87

View File

@@ -602,7 +602,7 @@
if ( !function_exists('normalize_path')) {
function normalize_path($path) {
return str_replace(DIRECTORY_SEPARATOR, '\\', $path);
return str_replace(array('/','\\'), DIRECTORY_SEPARATOR, $path);
}
}