Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
c36f426664a63e1e5deba448896c74cba10de9a1
1 parent
f3c221c0
修改环境
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
website/config/Boot.inc.php
website/config/Defines.class.php
website/controller/admin/Base.class.php
website/config/Boot.inc.php
View file @
c36f426
...
...
@@ -7,7 +7,7 @@
*/
$appDir
=
dirname
(
dirname
(
__FILE__
));
$rootDir
=
realpath
(
$appDir
.
'/../
../
'
);
$rootDir
=
realpath
(
$appDir
.
'/../'
);
/**
* 应用配置信息
...
...
website/config/Defines.class.php
View file @
c36f426
...
...
@@ -92,7 +92,7 @@ class Config_Defines
// 主域名
define
(
'SITE_DOMAIN'
,
'.yohobuy.com'
);
// 静态资源目录
define
(
'SITE_RES'
,
'http://res.
yoho.cn/res/yohood
'
);
define
(
'SITE_RES'
,
'http://res.
test.yohood.yoho.cn/
'
);
// 主站
define
(
'SITE_MAIN'
,
'http://yohood.yohobuy.com'
);
...
...
@@ -107,7 +107,7 @@ class Config_Defines
// 主域名
define
(
'SITE_DOMAIN'
,
'.yohobuy.com'
);
// 静态资源目录
define
(
'SITE_RES'
,
'http://res.
yoho.cn/res/yohood
'
);
define
(
'SITE_RES'
,
'http://res.
test.yohood.yoho.cn
'
);
// 主站
define
(
'SITE_MAIN'
,
'http://yohood.yohobuy.com'
);
define
(
'QINIU_UPLOAD_STATE'
,
true
);
...
...
website/controller/admin/Base.class.php
View file @
c36f426
...
...
@@ -20,8 +20,8 @@ class Controller_Admin_Base extends Controller_Abstract
private
$_admins
=
array
(
//array('username' => '用户名', 'password' => '密码'),
array
(
'username'
=>
'yohoadmin'
,
'password'
=>
'9646abcdef'
),
//array('username' => 'test', 'password' => '123456')
// array('username' => 'yohoadmin', 'password' => '9646abcdef'),
array
(
'username'
=>
'test'
,
'password'
=>
'123456'
)
);
/**
...
...
Please
register
or
login
to post a comment