Elgg  Version master
Variables
settings.php File Reference

Go to the source code of this file.

Variables

 $site = elgg_get_site_entity()
 
$site description = get_input('sitedescription')
 
$site name = strip_tags(get_input('sitename', ''))
 
$site email = get_input('siteemail')
 
if(!$site->save()) $allow_registration = (get_input('allow_registration', false) === 'on')
 
 $require_admin_validation = (get_input('require_admin_validation', false) === 'on')
 
 $remove_unvalidated_users_days = (int) get_input('remove_unvalidated_users_days')
 
if($remove_unvalidated_users_days< 1) else
 
 $walled_garden = (get_input('walled_garden', false) === 'on')
 
 $allowed_languages = (array) get_input('allowed_languages', [])
 
 $allowed_languages [] = 'en'
 
 $default_limit = (int) get_input('default_limit')
 
 $comments_max_depth = (int) get_input('comments_max_depth')
 
 $trash_retention = (int) get_input('trash_retention', 30)
 
 $user_default_access = (get_input('allow_user_default_access') === 'on')
 
if(!elgg() ->config->hasInitialValue('debug')) $remove_branding = (get_input('remove_branding', false) === 'on')
 
 $disable_rss = (get_input('disable_rss', false) === 'on')
 
 $friendly_time_number_of_days = get_input('friendly_time_number_of_days', 30)
 

Variable Documentation

if (!$site->save()) $allow_registration = (get_input('allow_registration', false) === 'on')

Definition at line 23 of file settings.php.

$allowed_languages = (array) get_input('allowed_languages', [])

Definition at line 47 of file settings.php.

$allowed_languages[] = 'en'

Definition at line 48 of file settings.php.

$comments_max_depth = (int) get_input('comments_max_depth')

Definition at line 61 of file settings.php.

$default_limit = (int) get_input('default_limit')

Definition at line 54 of file settings.php.

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

Definition at line 125 of file settings.php.

$friendly_time_number_of_days = get_input('friendly_time_number_of_days', 30)

Definition at line 128 of file settings.php.

if (!elgg() ->config->hasInitialValue('debug')) $remove_branding = (get_input('remove_branding', false) === 'on')

Definition at line 118 of file settings.php.

$remove_unvalidated_users_days = (int) get_input('remove_unvalidated_users_days')

Definition at line 34 of file settings.php.

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

Definition at line 27 of file settings.php.

Definition at line 12 of file settings.php.

$trash_retention = (int) get_input('trash_retention', 30)

Definition at line 74 of file settings.php.

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

Definition at line 106 of file settings.php.

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

Definition at line 42 of file settings.php.

$site description = get_input('sitedescription')

Definition at line 14 of file settings.php.

if ($remove_unvalidated_users_days< 1) else
Initial value:
{
elgg_save_config('remove_unvalidated_users_days', $remove_unvalidated_users_days)
$remove_unvalidated_users_days
Definition: settings.php:34
elgg_save_config(string $name, $value)
Save a configuration setting.

Definition at line 37 of file settings.php.

$site email = get_input('siteemail')

Definition at line 16 of file settings.php.

$site name = strip_tags(get_input('sitename', ''))

Definition at line 15 of file settings.php.