Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
13528c0c
Commit
13528c0c
authored
Jun 30, 2020
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
本地化
parent
7b5f75df
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
config_hf.php
new_admincp/applications/zsb/config/config_hf.php
+1
-1
memcached.php
new_admincp/applications/zsb/config/memcached.php
+1
-1
index.php
new_admincp/index.php
+1
-1
No files found.
new_admincp/applications/zsb/config/config_hf.php
View file @
13528c0c
<?php
<?php
if
(
!
defined
(
'BASEPATH'
))
if
(
!
defined
(
'BASEPATH'
))
exit
(
'No direct script access allowed'
);
exit
(
'No direct script access allowed'
);
...
...
new_admincp/applications/zsb/config/memcached.php
View file @
13528c0c
...
@@ -8,7 +8,7 @@ $IpHostAllow =explode('.',GetIp());
...
@@ -8,7 +8,7 @@ $IpHostAllow =explode('.',GetIp());
//if($IpHostAllow['0']=='192' || $IpHostAllow['0']=='127')
//if($IpHostAllow['0']=='192' || $IpHostAllow['0']=='127')
$server_ip
=
$_SERVER
[
'SERVER_ADDR'
];
$server_ip
=
$_SERVER
[
'SERVER_ADDR'
];
if
(
$server_ip
==
'192.168.105.107'
)
if
(
in_array
(
$server_ip
,
array
(
'192.168.105.107'
,
'127.0.0.1'
))
)
{
{
$memcached
[
'servers'
]
=
array
(
$memcached
[
'servers'
]
=
array
(
'default'
=>
array
(
'default'
=>
array
(
...
...
new_admincp/index.php
View file @
13528c0c
...
@@ -48,7 +48,7 @@ if (defined('ENVIRONMENT'))
...
@@ -48,7 +48,7 @@ if (defined('ENVIRONMENT'))
}
}
}
}
if
(
$_COOKIE
[
'
zk
g'
]){
if
(
$_COOKIE
[
'
admin_debu
g'
]){
error_reporting
(
E_ALL
);
error_reporting
(
E_ALL
);
ini_set
(
"display_errors"
,
TRUE
);
ini_set
(
"display_errors"
,
TRUE
);
}
}
...
...
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