Elgg  Version 2.3
robots.txt.php
Go to the documentation of this file.
1 <?php
2 
4 header("Content-type: text/plain;charset=utf-8");
5 
6 $content = $site->getPrivateSetting('robots.txt');
7 $plugin_content = elgg_trigger_plugin_hook('robots.txt', 'site', array('site' => $site), '');
9  $content = $content . "\n\n" . $plugin_content;
10 }
elgg_get_site_entity($site_guid=0)
Get an entity (default is current site)
Definition: sites.php:18
$plugin_content
Definition: robots.txt.php:7
elgg echo
Translates a string.
Definition: languages.js:48
elgg_trigger_plugin_hook($hook, $type, $params=null, $returnvalue=null)
Definition: elgglib.php:826
clearfix elgg elgg elgg elgg page header
Definition: admin.css.php:127
$site
Definition: robots.txt.php:3
$content
Definition: robots.txt.php:6