mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +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
|
|
@ -541,9 +541,7 @@ class installController extends install
|
|||
foreach($module_list as $module_path)
|
||||
{
|
||||
// Get module name
|
||||
$tmp_arr = explode('/',$module_path);
|
||||
$module = $tmp_arr[count($tmp_arr)-1];
|
||||
|
||||
$module = basename($module_path);
|
||||
$xml_info = $oModuleModel->getModuleInfoXml($module);
|
||||
if(!$xml_info) continue;
|
||||
$modules[$xml_info->category][] = $module;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue