ajout une action pour forcer invalidatrion du cache
spip.php?action=gamutable_cache&arg=0
This commit is contained in:
parent
c47b64214e
commit
23065d565a
1 changed files with 15 additions and 0 deletions
15
action/gamutable_cache.php
Normal file
15
action/gamutable_cache.php
Normal 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");
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue