Elgg  Version 2.3
flush_cache.php
Go to the documentation of this file.
1 <?php
7 _elgg_services()->autoloadManager->deleteCache();
8 
9 system_message(elgg_echo('admin:cache:flushed'));
elgg_flush_caches()
Flush all the registered caches.
Definition: cache.php:225
system_message($message)
Display a system message on next page load.
Definition: elgglib.php:450
const REFERER
Definition: elgglib.php:2123
forward($location="", $reason='system')
Forward to $location.
Definition: elgglib.php:94
_elgg_services(\Elgg\Di\ServiceProvider $services=null)
Get the global service provider.
Definition: autoloader.php:17
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21