MDL-81590 core: Build the context path without using DIRECTORY_SEPARATOR
This commit is contained in:
@@ -351,7 +351,7 @@ class zipwriter {
|
||||
|
||||
$path[] = $filepathinzip;
|
||||
|
||||
$finalpath = implode(DIRECTORY_SEPARATOR, $path);
|
||||
$finalpath = implode('/', $path);
|
||||
|
||||
// Remove relative paths (./).
|
||||
$finalpath = str_replace('./', '/', $finalpath);
|
||||
|
||||
Reference in New Issue
Block a user