mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
설치 시 문제 고침
This commit is contained in:
parent
dda80b88e1
commit
dfc22a6305
1 changed files with 1 additions and 1 deletions
|
|
@ -411,7 +411,7 @@ class ModuleHandler extends Handler
|
|||
$logged_info = Context::get('logged_info');
|
||||
|
||||
// check CSRF for admin actions
|
||||
if(Context::getRequestMethod() === 'POST' && !checkCSRF()) {
|
||||
if(Context::getRequestMethod() === 'POST' && Context::isInstalled() && !checkCSRF()) {
|
||||
$this->error = 'msg_invalid_request';
|
||||
$oMessageObject = ModuleHandler::getModuleInstance('message', $display_mode);
|
||||
$oMessageObject->setError(-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue