Skip to content

Commit

Permalink
MAGETWO-47607: [Github] Sitemap generation in wrong folder when vhost…
Browse files Browse the repository at this point in the history
… is connected to pub folder
  • Loading branch information
Sergey Semenov committed Jun 9, 2017
1 parent 60c6871 commit 434c2d4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/code/Magento/Robots/Block/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Prepares base content for robots.txt file
*
* @api
*/
class Data extends AbstractBlock
{
Expand Down
3 changes: 1 addition & 2 deletions app/code/Magento/Robots/view/frontend/templates/robots.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<?php /* @escapeNotVerified */ echo $layoutContent ?>
?><?php echo $layoutContent;
2 changes: 2 additions & 0 deletions app/code/Magento/Sitemap/Block/Robots.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

/**
* Prepares sitemap links to add to the robots.txt file
*
* @api
*/
class Robots extends \Magento\Framework\View\Element\AbstractBlock
{
Expand Down

0 comments on commit 434c2d4

Please sign in to comment.