mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix incorrect handling of path separator on Windows systems
This commit is contained in:
parent
d81998c588
commit
921d7d8568
3 changed files with 4 additions and 6 deletions
|
|
@ -145,7 +145,7 @@ class FileHandler
|
|||
$output = array();
|
||||
foreach ($list as $filename)
|
||||
{
|
||||
$filename = str_replace(array('/\\', '//'), '/', $filename);
|
||||
$filename = str_replace(array('\\', '//'), '/', $filename);
|
||||
$basename = $concat_prefix ? basename($filename) : $filename;
|
||||
if ($basename[0] === '.' || ($filter && !preg_match($filter, $basename)))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue