X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=www%2Fplugins-dist%2Fsvp%2Fexec%2Fadmin_plugin.php;h=be46e0e900179f2440f7dcbeda279139c015158e;hb=77a53a65e59f60f4d49b41f1b82d72830ba68987;hp=fcb206c7297ad66095b8f012b3f692d0e0e55ac1;hpb=9a3d4353e89ac94da6b21cff26e28fa704369cb2;p=lhc%2Fweb%2Fwww.git diff --git a/www/plugins-dist/svp/exec/admin_plugin.php b/www/plugins-dist/svp/exec/admin_plugin.php index fcb206c7..be46e0e9 100644 --- a/www/plugins-dist/svp/exec/admin_plugin.php +++ b/www/plugins-dist/svp/exec/admin_plugin.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2016 * + * Copyright (c) 2001-2019 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -55,6 +55,10 @@ function exec_admin_plugin_dist() { if ($new and _request('actualise') < 2) { $url = parametre_url(self(), 'actualise', _request('actualise') + 1, '&'); include_spip('inc/headers'); + if (isset($GLOBALS['fichier_php_compile_recent'])) { + // attendre eventuellement l'invalidation du cache opcode + spip_attend_invalidation_opcode_cache($GLOBALS['fichier_php_compile_recent']); + } echo redirige_formulaire($url); exit; }