mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
corrected the normalizer
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user