mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
CSRF defence modify
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12511 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6cf384a37e
commit
ef5aa0b93f
1 changed files with 1 additions and 1 deletions
|
|
@ -1144,7 +1144,7 @@
|
|||
$oModuleModel = &getModel('module');
|
||||
$siteModuleInfo = $oModuleModel->getDefaultMid();
|
||||
|
||||
if($siteModuleInfo->site_srl === 0)
|
||||
if($siteModuleInfo->site_srl == 0)
|
||||
{
|
||||
if(!strstr(strtolower($defaultUrl), strtolower($referer['host'])))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue