فهرست منبع

corrected the normalizer

Matthew Vale 9 سال پیش
والد
کامیت
ede741f82c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      resources/functions.php

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