mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
Merge branch 'develop' into php7
This commit is contained in:
commit
5f5377fe85
5 changed files with 43 additions and 55 deletions
|
|
@ -316,6 +316,12 @@ class layoutView extends layout
|
|||
*/
|
||||
function dispLayoutPreview()
|
||||
{
|
||||
if(!checkCSRF())
|
||||
{
|
||||
$this->stop('msg_invalid_request');
|
||||
return new Object(-1, 'msg_invalid_request');
|
||||
}
|
||||
|
||||
// admin check
|
||||
// this act is admin view but in normal view because do not load admin css/js files
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue