-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
authored and
root
committed
Apr 23, 2017
1 parent
85c89e6
commit a43adb6
Showing
16 changed files
with
74 additions
and
19 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ | |
], | ||
], | ||
], | ||
]; | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
/** | ||
* FecShop file. | ||
* | ||
* @link http://www.fecshop.com/ | ||
* @copyright Copyright (c) 2016 FecShop Software LLC | ||
* @license http://www.fecshop.com/license/ | ||
*/ | ||
return [ | ||
'sitemap' => [ | ||
'class' => 'fecshop\services\Sitemap', | ||
'sitemapConfig' => [ | ||
/** | ||
* 对于下面的设置,您可能感觉很啰嗦,域名作为store的key,在store service中已经设置, | ||
* 为什么需要在这里重新搞一套呢? 这样做是为了更加的灵活 | ||
* | ||
*/ | ||
# appfront入口 | ||
'appfront' => [ | ||
# store的key(域名), | ||
'fecshop.appfront.fancyecommerce.com' => [ | ||
'https' => true, # false代表使用http,true代表使用https | ||
'sitemapDir' => '@appfront/web/sitemap.xml', # sitemap存放的地址 | ||
'showScriptName'=> false, # 是否显示index.php ,譬如http://www.fecshop.com/index.php/xxxxxx,当nginx没有设置重写,这里需要设置为true,这样url中会存在index.php,否则会404 | ||
# 这个设置对seo来说,设置为false最合适,也就是隐藏 url中index.php ,这种设置需要开启nginx的url重写 | ||
], | ||
# store的key(域名) | ||
'fecshop.appfront.fancyecommerce.com/fr' => [ | ||
'https' => true, # false代表使用http,true代表使用https | ||
'sitemapDir' => '@appfront/web/fr/sitemap.xml', # sitemap存放的地址 | ||
'showScriptName'=> false, | ||
], | ||
|
||
'fecshop.appfront.es.fancyecommerce.com' => [ | ||
'https' => true, # false代表使用http,true代表使用https | ||
'sitemapDir' => '@appfront/web/sitemap_es.xml', | ||
'showScriptName'=> false, | ||
], | ||
'fecshop.appfront.fancyecommerce.com/cn' => [ | ||
'https' => true, # false代表使用http,true代表使用https | ||
'sitemapDir' => '@appfront/web/cn/sitemap.xml', | ||
'showScriptName'=> false, | ||
], | ||
] | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters