Skip to content

Commit 5c1c5fe

Browse files
author
Sergey Semenov
committed
MAGETWO-47607: [Github] Sitemap generation in wrong folder when vhost is connected to pub folder
1 parent bd832bc commit 5c1c5fe

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

app/code/Magento/Robots/Block/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(
4949
}
5050

5151
/**
52-
* Prepare base content for robots.txt file
52+
* Retrieve base content for robots.txt file
5353
*
5454
* @return string
5555
*/

app/code/Magento/Robots/Controller/Index/Index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use Magento\Framework\View\Result\PageFactory;
1212

1313
/**
14-
* Processes request to robots.txt file and returns robots.txt data as result
14+
* Processes request to robots.txt file and returns robots.txt content as result
1515
*/
1616
class Index extends Action
1717
{

app/code/Magento/Robots/etc/module.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,9 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
1010
<module name="Magento_Robots" setup_version="2.0.0">
11+
<sequence>
12+
<module name="Magento_Store"/>
13+
<module name="Magento_Theme"/>
14+
</sequence>
1115
</module>
1216
</config>

app/code/Magento/Sitemap/etc/module.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
99
<module name="Magento_Sitemap" setup_version="2.0.0">
1010
<sequence>
11+
<module name="Magento_Robots"/>
1112
<module name="Magento_Catalog"/>
1213
</sequence>
1314
</module>

0 commit comments

Comments
 (0)