26 if (stripos(PHP_OS,
'win') === 0) {
42 if (
'on' ===
get_input(
'simplecache_enabled')) {
65 if (
'on' ===
get_input(
'system_cache_enabled')) {
elgg_enable_system_cache()
Enables the system disk cache.
elgg_delete_admin_notice($id)
Remove an admin notice by ID.
elgg_get_site_entity($site_guid=0)
Get an entity (default is current site)
elgg_reset_system_cache()
Reset the system cache by deleting the caches.
_elgg_is_cache_symlinked()
Checks if /cache directory has been symlinked to views simplecache directory.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
unset_config($name, $site_guid=0)
Removes a config setting.
sanitise_filepath($path, $append_slash=true)
Sanitise file paths ensuring that they begin and end with slashes etc.
elgg_disable_system_cache()
Disables the system disk cache.
init_site_secret()
Initialise the site secret (32 bytes: "z" to indicate format + 186-bit key in Base64 URL)...
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
elgg_trigger_before_event($event, $object_type, $object=null)
Trigger a "Before event" indicating a process is about to begin.
elgg_get_cache_path()
Get the cache directory path for this installation.
datalist_set($name, $value)
Set the value for a datalist element.
elgg_get_root_path()
Get the root directory path for this installation.
elgg system_message
Wrapper function for system_messages.
elgg register_error
Wrapper function for system_messages.
elgg_disable_simplecache()
Disables the simple cache.
elgg_trigger_after_event($event, $object_type, $object=null)
Trigger an "After event" indicating a process has finished.
elgg_enable_simplecache()
Enables the simple cache.
set_config($name, $value, $site_guid=0)
Add or update a config setting.