mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
parent
2dd78849cf
commit
00e70f80df
4 changed files with 64 additions and 61 deletions
|
|
@ -645,6 +645,7 @@ class editorModel extends editor
|
|||
$lang_type = Context::getLangType();
|
||||
|
||||
// Get xml file path of the requested components
|
||||
$component = preg_replace('/[^a-zA-Z0-9-_]/', '', $component);
|
||||
$component_path = sprintf('%s/components/%s/', $this->module_path, $component);
|
||||
|
||||
$xml_file = sprintf('%sinfo.xml', $component_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue