mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Merge pull request #147 from kijin/pr/fix-145
admin 폴더 방문시 admin 모듈로 전달되지 않는 문제 해결
This commit is contained in:
commit
261c353053
2 changed files with 6 additions and 0 deletions
|
|
@ -63,6 +63,11 @@ class ModuleHandler extends Handler
|
|||
{
|
||||
$this->entry = Context::convertEncodingStr($entry);
|
||||
}
|
||||
if(!$this->module && $this->mid === 'admin')
|
||||
{
|
||||
Context::set('module', $this->module = 'admin');
|
||||
Context::set('mid', $this->mid = null);
|
||||
}
|
||||
|
||||
// Validate variables to prevent XSS
|
||||
$isInvalid = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue