Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
081c66949b5c25deafc7708e2649a6b276f01ff5
1 parent
76e6d132
tolls
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
yohobuy/www.yohobuy.com/application/controllers/Tools.php
yohobuy/www.yohobuy.com/application/controllers/Tools.php
View file @
081c669
...
...
@@ -253,7 +253,8 @@ class ToolsController extends WebAction
public
function
secretSwitchAction
()
{
$val
=
intval
(
$this
->
get
(
'com.yohobuy.customerservice.enabled'
,
-
1
));
$val
=
intval
(
$this
->
get
(
'enabled'
,
-
1
));
echo
$val
;
if
(
$val
===
-
1
)
{
return
false
;
}
...
...
Please
register
or
login
to post a comment