26 if (stripos(PHP_OS, 
'win') === 0) {
 
   42 if (
'on' === 
get_input(
'simplecache_enabled')) {
 
   51 if (
'on' === 
get_input(
'system_cache_enabled')) {
 
init_site_secret()
Initialise the site secret (32 bytes: "z" to indicate format + 186-bit key in Base64 URL).
 
elgg_reset_system_cache()
Reset the system cache by deleting the caches.
 
elgg_disable_system_cache()
Disables the system disk cache.
 
elgg_enable_simplecache()
Enables the simple cache.
 
elgg_disable_simplecache()
Disables the simple cache.
 
elgg_enable_system_cache()
Enables the system disk cache.
 
unset_config($name, $site_guid=0)
Removes a config setting.
 
datalist_set($name, $value)
Set the value for a datalist element.
 
set_config($name, $value, $site_guid=0)
Add or update a config setting.
 
register_error($error)
Display an error on next page load.
 
sanitise_filepath($path, $append_slash=true)
Sanitise file paths ensuring that they begin and end with slashes etc.
 
elgg_trigger_after_event($event, $object_type, $object=null)
Trigger an "After event" indicating a process has finished.
 
system_message($message)
Display a system message on next page load.
 
elgg_trigger_before_event($event, $object_type, $object=null)
Trigger a "Before event" indicating a process is about to begin.
 
forward($location="", $reason='system')
Forward to $location.
 
elgg_delete_admin_notice($id)
Remove an admin notice by ID.
 
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
 
elgg_get_site_entity($site_guid=0)
Get an \ElggSite entity (default is current site)