Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esf
fenzhan_zsb
Commits
a744d733
Commit
a744d733
authored
Mar 25, 2020
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
马鞍山站
parent
486f9f25
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
login.php
new_admincp/applications/zsb/controllers/login.php
+5
-0
No files found.
new_admincp/applications/zsb/controllers/login.php
View file @
a744d733
...
@@ -225,6 +225,11 @@ class Login extends MY_Controller {
...
@@ -225,6 +225,11 @@ class Login extends MY_Controller {
$username
=
urldecode
(
$username
);
$username
=
urldecode
(
$username
);
if
(
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'cp.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'we.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'esfadmin.house365.com'
))
if
(
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'cp.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'we.house365.com'
)
||
strpos
(
$_SERVER
[
'HTTP_REFERER'
],
'esfadmin.house365.com'
))
{
{
if
(
$_COOKIE
[
'zkg'
]){
var_dump
(
111
);
die
;
}
//判断账号密码正确性
//判断账号密码正确性
$uid
=
$this
->
broker_model
->
loginAdmin
(
$username
,
$password
,
FALSE
);
$uid
=
$this
->
broker_model
->
loginAdmin
(
$username
,
$password
,
FALSE
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment