mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix SecurityViolation when trying to preview a layout
This commit is contained in:
parent
c850c9fdcc
commit
6d58bb79f5
1 changed files with 6 additions and 0 deletions
|
|
@ -297,6 +297,12 @@ class layoutView extends layout
|
|||
$oModuleHandler->module_info->skin = $skin;
|
||||
}
|
||||
|
||||
// Remove unnecessary variables
|
||||
Context::set('success_return_url', null);
|
||||
Context::set('error_return_url', null);
|
||||
Context::set('skin_type', null);
|
||||
Context::set('skin_vars', null);
|
||||
|
||||
// Proc module
|
||||
$oModule = $oModuleHandler->procModule();
|
||||
if(!$oModule->toBool())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue