diff --git a/exec/admin_plugin.php b/exec/admin_plugin.php index 775436e..44f6ca0 100644 --- a/exec/admin_plugin.php +++ b/exec/admin_plugin.php @@ -108,7 +108,7 @@ function exec_admin_plugin_dist() { echo debut_droite('plugin', true); // alerte si mode de compatibilité forcée - $mode_compat = defined('_DEV_PLUGINS') ? + $mode_compat = defined('_DEV_VERSION_SPIP_COMPAT') ? '' . _T('svp:alerte_compatibilite') . '' : ''; echo gros_titre(_T('icone_admin_plugin') . $mode_compat, '', false); diff --git a/inc/svp_phraser.php b/inc/svp_phraser.php index bcf219c..48eb9b2 100644 --- a/inc/svp_phraser.php +++ b/inc/svp_phraser.php @@ -17,7 +17,7 @@ include_spip('inc/xml'); include_spip('inc/config'); if (!defined('_SVP_MODE_RUNTIME')) { - if (defined('_DEV_PLUGINS')) { + if (defined('_DEV_VERSION_SPIP_COMPAT')) { /** * Mode d'utilisation de SVP runtime ou pas : * - En mode runtime (true), on ne charge que les plugins compatibles avec la version courante