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
e63660ec
Commit
e63660ec
authored
Sep 08, 2025
by
yanghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
19c668e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
constants.php
new_admincp/applications/zsb/config/constants.php
+3
-3
No files found.
new_admincp/applications/zsb/config/constants.php
View file @
e63660ec
...
@@ -140,8 +140,8 @@ if(GB_CITY == 'nj')
...
@@ -140,8 +140,8 @@ if(GB_CITY == 'nj')
}
}
else
else
{
{
$base_url
=
isset
(
$_SERVER
[
'HTTPS'
])
&&
strtolower
(
$_SERVER
[
'HTTPS'
])
!==
'off'
?
'https'
:
'http
'
;
$base_url
=
$http
=
((
isset
(
$_SERVER
[
'HTTPS'
])
&&
$_SERVER
[
'HTTPS'
]
==
'on'
)
||
(
isset
(
$_SERVER
[
'HTTP_X_FORWARDED_PROTO'
])
&&
$_SERVER
[
'HTTP_X_FORWARDED_PROTO'
]
==
'https'
))
?
'https://'
:
'http://
'
;
$base_url
.=
'://'
.
$_SERVER
[
'HTTP_HOST'
];
$base_url
.=
$_SERVER
[
'HTTP_HOST'
];
$base_url
.=
str_replace
(
basename
(
$_SERVER
[
'SCRIPT_NAME'
]),
''
,
$_SERVER
[
'SCRIPT_NAME'
]);
$base_url
.=
str_replace
(
basename
(
$_SERVER
[
'SCRIPT_NAME'
]),
''
,
$_SERVER
[
'SCRIPT_NAME'
]);
//define('STATIC_SOURCE_URL', 'http://esf.fz.house365.com');
//define('STATIC_SOURCE_URL', 'http://esf.fz.house365.com');
if
(
isset
(
$_GET
[
'test'
])){
if
(
isset
(
$_GET
[
'test'
])){
...
@@ -150,7 +150,7 @@ else
...
@@ -150,7 +150,7 @@ else
print_r
(
$_SERVER
);
print_r
(
$_SERVER
);
exit
;
exit
;
}
}
define
(
'STATIC_SOURCE_URL'
,
'http://'
.
$_SERVER
[
'HTTP_HOST'
]
.
'/source'
);
define
(
'STATIC_SOURCE_URL'
,
$http
.
$_SERVER
[
'HTTP_HOST'
]
.
'/source'
);
define
(
'GB_WO_HELP'
,
"http://zsb.house365.com/help/"
);
define
(
'GB_WO_HELP'
,
"http://zsb.house365.com/help/"
);
}
}
...
...
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