Skip to content

Commit

Permalink
syntax error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
shahariaazam committed Oct 4, 2017
1 parent 6fa8e46 commit 59bc959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RobotsDotTxtGenerator/RobotsDotTxtGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ protected function generate()
$str .= sprintf("User-Agent: %s", $rule->getUserAgent()) . $this->newLine;

foreach ($rule->getAllowedPaths() as $allowedPath) {
$str .= sprintf("Allowed: %s", $allowedPath) . $this->newLine;
$str .= sprintf("Allow: %s", $allowedPath) . $this->newLine;
}

foreach ($rule->getDisallowedPaths() as $allowedPath) {
Expand Down

0 comments on commit 59bc959

Please sign in to comment.