Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
U
User
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
zhangjun
User
Commits
783c0529
Commit
783c0529
authored
Feb 23, 2023
by
fangliyan
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'release-fangliyan' 到 'release'
Release fangliyan 查看合并请求
!17
parents
8e2de42d
2df09608
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
.gitignore
.gitignore
+2
-0
login.php
center/controllers/login.php
+3
-0
No files found.
.gitignore
View file @
783c0529
# Created by .ignore support plugin (hsz.mobi)
# Created by .ignore support plugin (hsz.mobi)
.idea
.idea
\ No newline at end of file
center/controllers/login.php
View file @
783c0529
...
@@ -19,6 +19,9 @@ class Login extends MY_Controller
...
@@ -19,6 +19,9 @@ class Login extends MY_Controller
$ref_url
=
$_SERVER
[
"HTTP_REFERER"
];
$ref_url
=
$_SERVER
[
"HTTP_REFERER"
];
$login_url
=
"http://passport.house365.com/index/login"
;
$login_url
=
"http://passport.house365.com/index/login"
;
$login_url
.=
$login_url
?
(
'?others_returnback='
.
$ref_url
)
:
''
;
$login_url
.=
$login_url
?
(
'?others_returnback='
.
$ref_url
)
:
''
;
if
(
$_GET
[
'ref'
]){
echo
$login_url
;
exit
;
}
Header
(
"HTTP/1.1 301 Moved Permanently"
);
Header
(
"HTTP/1.1 301 Moved Permanently"
);
Header
(
"Location:
$login_url
"
);
Header
(
"Location:
$login_url
"
);
exit
;
exit
;
...
...
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