Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
samsung-christmas
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
6c4cd0ff
authored
Dec 23, 2019
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
48d1c6d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
Application/Home/Controller/IndexController.class.php
+18
-18
No files found.
Application/Home/Controller/IndexController.class.php
View file @
6c4cd0ff
...
...
@@ -211,25 +211,25 @@ class IndexController extends Controller
}
}
//
public function defaultStatus() {
//
if($_GET['password'] != 'UUvjQ1AT9fNwYlmNGEe1TSqbin7tClIg')
//
{
//
header("HTTP/1.0 404 Not Found");
//
exit;
//
}
//
M('user')->where('1=1')->save(array(
//
'tel' => NULL,
//
'is_prize' => 0
//
));
public
function
defaultStatus
()
{
if
(
$_GET
[
'password'
]
!=
'UUvjQ1AT9fNwYlmNGEe1TSqbin7tClIg'
)
{
header
(
"HTTP/1.0 404 Not Found"
);
exit
;
}
M
(
'user'
)
->
where
(
'1=1'
)
->
save
(
array
(
'tel'
=>
NULL
,
'is_prize'
=>
0
));
//
M('prize')->where('1=1')->save(array(
//
'take_time' => 0,
//
'user_id' => 0,
//
'is_get' => 0,
//
'last_ip' => ''
//
));
//
echo 'clear complete';
//
}
M
(
'prize'
)
->
where
(
'1=1'
)
->
save
(
array
(
'take_time'
=>
0
,
'user_id'
=>
0
,
'is_get'
=>
0
,
'last_ip'
=>
''
));
echo
'clear complete'
;
}
public
function
cookie
()
{
...
...
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