corrected the normalizer

This commit is contained in:
Matthew Vale
2015-12-01 11:35:23 +00:00
parent 4efec3ac0b
commit c9197b4151

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);
}
}