mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-22 11:52:14 +09:00
Prevent Rhymix reserved namespaces from being registered as custom
This commit is contained in:
parent
5823253d60
commit
47996cb294
2 changed files with 7 additions and 2 deletions
|
|
@ -252,7 +252,7 @@ class ModuleActionParser extends BaseParser
|
|||
// Parse custom namespaces.
|
||||
foreach ($xml->namespaces->namespace ?: [] as $namespace)
|
||||
{
|
||||
$info->namespaces[] = strval($namespace['name']);
|
||||
$info->namespaces[] = trim($namespace['name'], '/\\');
|
||||
}
|
||||
|
||||
// Parse custom prefixes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue