Elgg  Version 1.11
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
 
 $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

◆ $allow_registration

Definition at line 70 of file update_advanced.php.

◆ $dataroot

Definition at line 23 of file update_advanced.php.

◆ $debug

$debug = get_input('debug')
Examples
/root/Elgg/engine/lib/views.php.

Definition at line 62 of file update_advanced.php.

◆ $regenerate_site_secret

$regenerate_site_secret = get_input('regenerate_site_secret', false)

Definition at line 83 of file update_advanced.php.

◆ $site

Definition at line 12 of file update_advanced.php.

◆ $user_default_access

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

Definition at line 59 of file update_advanced.php.

◆ $walled_garden

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

Definition at line 74 of file update_advanced.php.

◆ else

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)
$dataroot
datalist_set($name, $value)
Set the value for a datalist element.
register_error($error)
Display an error on next page load.
Definition: elgglib.php:455
const REFERER
Definition: elgglib.php:1995
forward($location="", $reason='system')
Forward to $location.
Definition: elgglib.php:80
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21

Definition at line 32 of file update_advanced.php.

◆ url

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

Definition at line 20 of file update_advanced.php.