Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
s_ibanshou
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋林
s_ibanshou
Commits
887a7783
Commit
887a7783
authored
Jul 08, 2017
by
蒋林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
config
parent
7efbd069
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
config_ibanshou.php
e/config/config_ibanshou.php
+1
-1
cas.php
e/member/cas.php
+2
-5
No files found.
e/config/config_ibanshou.php
View file @
887a7783
...
...
@@ -18,7 +18,7 @@ $config = [
'debug'
=>
false
,
'server_ip'
=>
[
'54.222.158.174'
],
'logs'
=>
'./data/log/phpcas.log'
,
'uc_base_url'
=>
'http://
pre.u.ibanshou.cn
/'
,
'uc_base_url'
=>
'http://
u.yunya.com
/'
,
],
//产品
...
...
e/member/cas.php
View file @
887a7783
...
...
@@ -36,8 +36,7 @@ if ($mod == 'login') {
qGetLoginAuthstr
(
$cmsmember
[
'userid'
],
$cmsmember
[
'username'
],
$cmsmember
[
'rnd'
],
$cmsmember
[
'groupid'
],
$logincookie
);
//登录附加cookie
AddLoginCookie
(
$cmsmember
);
printerror
(
"LoginSuccess"
,
$ref_url
,
1
);
header
(
"Location:
{
$ref_url
}
"
);
}
else
{
include
(
'class/member_registerfun.php'
);
...
...
@@ -51,10 +50,8 @@ if ($mod == 'login') {
'mobile'
=>
$member
[
'mobile'
],
'avatar'
=>
$member
[
'avatar'
],
];
$result
=
wxhreg
(
$member
[
'username'
],
'ibanshou'
,
$email
,
$expand
);
printerror
(
"LoginSuccess"
,
$ref_url
,
1
);
header
(
"Location:
{
$ref_url
}
"
);
}
}
...
...
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