Fix incorrect path conversion on Windows #2667

This commit is contained in:
Kijin Sung 2026-02-05 22:39:33 +09:00
parent d824bc9da3
commit 8920cb7491

View file

@ -1012,7 +1012,7 @@ class ModuleModel extends Module
$skin_list[$skin_name] = $skin_info;
}
$tmpPath = strtr($path, array('/' => ' '));
$tmpPath = strtr($path, array('/' => ' ', '\\' => ' '));
$tmpPath = trim($tmpPath);
$module = array_last(explode(' ', $tmpPath));