90 if (!
elgg()->config->hasInitialValue(
'simplecache_enabled')) {
91 if (
get_input(
'simplecache_enabled') ===
'on') {
98 if (
get_input(
'cache_symlink_enabled') ===
'on') {
107 if (
get_input(
'system_cache_enabled') ===
'on') {
118 if (!
elgg()->config->hasInitialValue(
'debug')) {
elgg_enable_system_cache()
Enables the system disk cache.
$friendly_time_number_of_days
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
if(!elgg() ->config->hasInitialValue('debug')) $remove_branding
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_symlink_cache()
Symlinks /cache directory to views simplecache directory.
$require_admin_validation
$remove_unvalidated_users_days
elgg_disable_system_cache()
Disables the system disk cache.
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
if(!$site->save()) $allow_registration
$admin_validation_notification
elgg_invalidate_caches()
Invalidate all the registered caches.
Updates the basic settings for the primary site object.
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.
elgg_save_config(string $name, $value)
Save a configuration setting.
elgg_remove_config(string $name)
Removes a config setting.
elgg_get_site_entity()
Get the current site entity.
elgg_register_error_message(string|array $options)
Registers a error system message.
elgg_disable_simplecache()
Disables the simple cache.
elgg_enable_simplecache()
Enables the simple cache.