ajout une action pour forcer invalidatrion du cache

spip.php?action=gamutable_cache&arg=0
This commit is contained in:
Christophe 2020-05-18 16:29:27 +02:00
parent c47b64214e
commit 23065d565a

View file

@ -0,0 +1,15 @@
<?php
if (!defined('_ECRIRE_INC_VERSION')) return;
function action_gamutable_cache_dist(){
include_spip('inc/autoriser');
if (! autoriser("webmestre")) {
return false;
}
// Cache
include_spip('inc/invalideur');
suivre_invalideur("gamutable");
}