Skip to content

Commit

Permalink
fix(site): adds robots.txt to public pages
Browse files Browse the repository at this point in the history
robots.txt is now accessible in a walled garden mode
  • Loading branch information
hypeJunction committed Apr 6, 2016
1 parent 02d6b1b commit 824197b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engine/classes/ElggSite.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ public function isPublicPage($url = '') {
'cache/[0-9]+/\w+/js|css/.*', 'cache/[0-9]+/\w+/js|css/.*',
'cron/.*', 'cron/.*',
'services/.*', 'services/.*',
'robots.txt',
); );


// include a hook for plugin authors to include public pages // include a hook for plugin authors to include public pages
Expand Down

0 comments on commit 824197b

Please sign in to comment.