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

Go to the source code of this file.

Namespaces

 Elgg\Core
 Activate a plugin or plugins.
 

Variables

 $site = elgg_get_site_entity()
 
if(!$site) if(!($site
instanceof ElggSite)) $site 
url = rtrim(get_input('wwwroot', '', false), '/') . '/'
 
 $dataroot = sanitise_filepath(get_input('dataroot', '', false))
 
if(stripos(PHP_OS, 'win')===0) else
 
 $cache_symlinked = _elgg_is_cache_symlinked()
 
 $user_default_access = ('on' === get_input('allow_user_default_access'))
 
 $debug = get_input('debug')
 
 $allow_registration = ('on' === get_input('allow_registration', false))
 
 $walled_garden = ('on' === get_input('walled_garden', false))
 
 $regenerate_site_secret = get_input('regenerate_site_secret', false)
 

Variable Documentation

Definition at line 84 of file update_advanced.php.

$cache_symlinked = _elgg_is_cache_symlinked()

Definition at line 48 of file update_advanced.php.

Definition at line 23 of file update_advanced.php.

$debug = get_input('debug')

Definition at line 76 of file update_advanced.php.

$regenerate_site_secret = get_input('regenerate_site_secret', false)

Definition at line 91 of file update_advanced.php.

Definition at line 12 of file update_advanced.php.

$user_default_access = ('on' === get_input('allow_user_default_access'))

Definition at line 73 of file update_advanced.php.

$walled_garden = ('on' === get_input('walled_garden', false))

Definition at line 88 of file update_advanced.php.

if ($regenerate_site_secret) if ($site->save()) else
Initial value:
{
if (strpos($dataroot, '/') !== 0) {
$msg = elgg_echo('admin:configuration:dataroot:relative_path', array($dataroot));
}
}
datalist_set('dataroot', $dataroot)
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
const REFERER
Definition: elgglib.php:2029
datalist_set($name, $value)
Set the value for a datalist element.
$dataroot
forward($location="", $reason= 'system')
Forward to $location.
Definition: elgglib.php:93

Definition at line 32 of file update_advanced.php.

string The menu ElggMenuItem::url = rtrim(get_input('wwwroot', '', false), '/') . '/'

Definition at line 20 of file update_advanced.php.