MDL-81590 core: Build the context path without using DIRECTORY_SEPARATOR

This commit is contained in:
Jun Pataleta
2024-09-27 16:46:16 +08:00
parent 3d2052dd89
commit 5a24beab3c
+1 -1
View File
@@ -351,7 +351,7 @@ class zipwriter {
$path[] = $filepathinzip;
$finalpath = implode(DIRECTORY_SEPARATOR, $path);
$finalpath = implode('/', $path);
// Remove relative paths (./).
$finalpath = str_replace('./', '/', $finalpath);