Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
chinaamc-2020flag
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f376263f
authored
Jan 13, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
69260cb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
Application/Home/Controller/IndexController.class.php
+0
-17
No files found.
Application/Home/Controller/IndexController.class.php
View file @
f376263f
...
@@ -19,22 +19,6 @@ class IndexController extends Controller
...
@@ -19,22 +19,6 @@ class IndexController extends Controller
public
function
index
()
public
function
index
()
{
{
// $user = $this->get_user_info_from_cookie();
// // 如果没有获取到用户信息,引导用户授权
// if (!$user) {
// $this->request_auth($this->get_url());
// return;
// }
session_start
();
$_SESSION
[
'joinTime'
]
=
time
();
$this
->
display
();
$this
->
display
();
}
}
public
function
cookie
()
{
SignedCookie
::
set_cookie
(
$this
->
cookie_uid_key
,
'oVsrlt0zUWMLvMx2-KPGVmY2I-Xc'
,
C
(
'cookie_sign'
),
86400
*
60
);
}
}
}
\ No newline at end of file
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