From d520226c872afa371906a1df18bf933ced459815 Mon Sep 17 00:00:00 2001 From: Matthew Vale Date: Tue, 1 Dec 2015 11:35:23 +0000 Subject: [PATCH] corrected the normalizer --- resources/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/functions.php b/resources/functions.php index ac3b793f2b..50b86716a3 100644 --- a/resources/functions.php +++ b/resources/functions.php @@ -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); } }