Permalink
Browse files

fix(site): adds robots.txt to public pages

robots.txt is now accessible in a walled garden mode
  • Loading branch information...
hypeJunction committed Apr 6, 2016
1 parent 02d6b1b commit 824197b183e98f6910b6bf43a14e5407af8cc09d
Showing with 1 addition and 0 deletions.
  1. +1 −0 engine/classes/ElggSite.php
@@ -569,6 +569,7 @@ public function isPublicPage($url = '') {
'cache/[0-9]+/\w+/js|css/.*',
'cron/.*',
'services/.*',
'robots.txt',
);
// include a hook for plugin authors to include public pages

0 comments on commit 824197b

Please sign in to comment.