Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Variables
set_robots.php File Reference

Go to the source code of this file.

Variables

 $content = get_input('text')
 Set robots.txt action. More...
 
 $site = elgg_get_site_entity()
 
if($site->setPrivateSetting('robots.txt',
$content)) 
else
 

Variable Documentation

$content = get_input('text')

Set robots.txt action.

Definition at line 6 of file set_robots.php.

Definition at line 8 of file set_robots.php.

if ($site->setPrivateSetting('robots.txt', $content)) else
Initial value:
{
register_error(elgg_echo('save:fail'))
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
register_error($error)
Display an error on next page load.
Definition: elgglib.php:452

Definition at line 12 of file set_robots.php.