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
fc85c82b
Commit
fc85c82b
authored
Dec 25, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
c921cbe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
constants.php
new_admincp/applications/zsb/config/constants.php
+3
-3
MinApp.php
new_admincp/source/min/lib/Minify/Controller/MinApp.php
+2
-2
No files found.
new_admincp/applications/zsb/config/constants.php
View file @
fc85c82b
...
...
@@ -138,12 +138,12 @@ if(GB_CITY == 'nj')
}
else
{
define
(
'STATIC_SOURCE_URL'
,
'http://esf.fz.house365.com'
);
//
define('STATIC_SOURCE_URL', 'http://esf.fz.house365.com');
define
(
'STATIC_SOURCE_URL'
,
'http://'
.
$_SERVER
[
'HTTP_HOST'
]
.
'/source'
);
define
(
'GB_WO_HELP'
,
"http://zsb.house365.com/help/"
);
}
//define('STATIC_SOURCE_URL', 'http://esf.fz.house365.com');
//�Ͼ�վ�ŵ�����ַ
//define('GB_WS_URL' , "http://gl.zsb.house365.com");
...
...
new_admincp/source/min/lib/Minify/Controller/MinApp.php
View file @
fc85c82b
...
...
@@ -71,7 +71,7 @@ class Minify_Controller_MinApp extends Minify_Controller_Base {
continue
;
}
if
(
0
===
strpos
(
$file
,
'//'
))
{
if
(
strpos
(
$_SERVER
[
'HTTP_HOST'
],
'
nj.zsb
'
)
!==
false
){
if
(
strpos
(
$_SERVER
[
'HTTP_HOST'
],
'
.zsb.
'
)
!==
false
){
$file
=
$_SERVER
[
'DOCUMENT_ROOT'
]
.
'/source'
.
substr
(
$file
,
1
);
}
else
{
$file
=
$_SERVER
[
'DOCUMENT_ROOT'
]
.
substr
(
$file
,
1
);
...
...
@@ -155,7 +155,7 @@ class Minify_Controller_MinApp extends Minify_Controller_Base {
foreach
(
$files
as
$file
)
{
$uri
=
$base
.
$file
;
if
(
strpos
(
$_SERVER
[
'HTTP_HOST'
],
'
nj.zsb
'
)
!==
false
){
if
(
strpos
(
$_SERVER
[
'HTTP_HOST'
],
'
.zsb.
'
)
!==
false
){
$file
=
$_SERVER
[
'DOCUMENT_ROOT'
]
.
'/source/'
.
$file
;
}
else
{
...
...
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