corrected the normalizer

This commit is contained in:
Matthew Vale 2015-12-01 11:35:23 +00:00
parent 4efec3ac0b
commit c9197b4151
1 changed files with 1 additions and 1 deletions

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