86 if (!
elgg()->config->hasInitialValue(
'simplecache_enabled')) {
100 if (!
elgg()->config->hasInitialValue(
'debug')) {
$remove_unvalidated_users_days
if(! $site->save()) $allowed_languages
if($default_limit< 1) $comments_max_depth
$site
Updates the settings for the site.
if($trash_retention< 0) $friendly_time_number_of_days
if(!in_array($comments_max_depth, [0, 2, 3, 4])) $trash_retention
elgg_invalidate_caches()
Invalidate all the registered caches.
elgg_save_config(string $name, $value)
Save a configuration setting.
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_remove_config(string $name)
Removes a config setting.
elgg()
Bootstrapping and helper procedural code available for use in Elgg core and plugins.
_elgg_services()
Get the global service provider.
elgg_register_error_message(string|array $options)
Registers a error system message.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_get_site_entity()
Get the current site entity.
elgg_ok_response($content='', string|array $message='', ?string $forward_url=null, int $status_code=ELGG_HTTP_OK)
Prepares a successful response to be returned by a page or an action handler.
elgg_error_response(string|array $message='', string $forward_url=REFERRER, int $status_code=ELGG_HTTP_BAD_REQUEST)
Prepare an error response to be returned by a page or an action handler.