Elgg  Version 2.2
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

Set robots.txt action.

Examples:
/root/Elgg/engine/lib/views.php.

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
elgg register_error
Wrapper function for system_messages.
Definition: elgglib.js:399

Definition at line 12 of file set_robots.php.