mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 20:32:14 +09:00
parent
2dd78849cf
commit
00e70f80df
4 changed files with 64 additions and 61 deletions
|
|
@ -22,7 +22,8 @@ class moduleView extends module
|
|||
function dispModuleSkinInfo()
|
||||
{
|
||||
$selected_module = Context::get('selected_module');
|
||||
$skin = Context::get('skin');
|
||||
$skin = preg_replace('/[^a-zA-Z0-9-_]/', '', Context::get('skin'));
|
||||
|
||||
// Get modules/skin information
|
||||
$module_path = sprintf("./modules/%s/", $selected_module);
|
||||
if(!is_dir($module_path)) throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue