mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +02:00
[ticket/16639] Fix for windows
PHPBB3-16639
This commit is contained in:
parent
8c0ec2559c
commit
ee5e5a9d30
@ -260,11 +260,11 @@ class local implements adapter_interface, stream_interface
|
|||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
$parts = explode(DIRECTORY_SEPARATOR, $path);
|
$parts = explode('/', $path);
|
||||||
$parts = array_slice($parts, 0, -1);
|
$parts = array_slice($parts, 0, -1);
|
||||||
$path = implode(DIRECTORY_SEPARATOR, $parts);
|
$path = implode('/', $parts);
|
||||||
}
|
}
|
||||||
while ($path && @rmdir($dirpath . DIRECTORY_SEPARATOR . $path));
|
while ($path && @rmdir($dirpath . '/' . $path));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user