diff --git a/inc-balises.php3 b/inc-balises.php3
index b4a41ac785bd101966be2bce2633be22c73e70a4..59f4f30cad4fa47f3b8da0e10222867dbfd9c9b4 100644
--- a/inc-balises.php3
+++ b/inc-balises.php3
@@ -20,9 +20,7 @@
 // Cette classe est definie dans inc-compilo-index.php3
 //
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_BALISES")) return;
-define("_INC_BALISES", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 
 //
diff --git a/inc-boucles.php3 b/inc-boucles.php3
index 3f32d5ea661c93d67b460f021fd04e3b06c0cef4..455f8c57fe0e426a54b67646d084cbdf9ca12aa1 100644
--- a/inc-boucles.php3
+++ b/inc-boucles.php3
@@ -15,9 +15,7 @@
 // Ce fichier definit les boucles standard de SPIP
 //
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_BOUCLES")) return;
-define("_INC_BOUCLES", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 //
 // Boucle standard, sans condition rajoutee
diff --git a/inc-cache.php3 b/inc-cache.php3
index fbfe552bf3e4426e138a6d77e76b9039009b06bd..d8509d8130ee7bad7f49f38a5fbba4c7efa1d575 100644
--- a/inc-cache.php3
+++ b/inc-cache.php3
@@ -12,9 +12,7 @@
 
 
 //
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_CACHE")) return;
-define("_INC_CACHE", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 
 //
diff --git a/inc-calcul-outils.php3 b/inc-calcul-outils.php3
index ddc574954d78952b5e8af4de535174c5e1be7c9e..e6226ab7d11b7cd6c5cbfe0ebc32e1c2ea11004f 100644
--- a/inc-calcul-outils.php3
+++ b/inc-calcul-outils.php3
@@ -22,9 +22,7 @@
 // ON TROUVERA EN QUEUE DE FICHIER LES FONCTIONS FAISANT DES APPELS SQL
 
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_CALCUL_OUTILS")) return;
-define("_INC_CALCUL_OUTILS", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 include_ecrire('inc_rubriques.php3'); # pour calcul_branche()
 
@@ -527,4 +525,4 @@ function lang_parametres_forum($s) {
 	return $s;
 }
 
-?>
\ No newline at end of file
+?>
diff --git a/inc-calcul.php3 b/inc-calcul.php3
index 42d706e9d6320010f18e106e56ac554ea07db1f3..f056018a687b3f8b0e9b96470760add1583511ec 100644
--- a/inc-calcul.php3
+++ b/inc-calcul.php3
@@ -12,9 +12,7 @@
 
 
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_CALCUL")) return;
-define("_INC_CALCUL", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 //
 // Ce fichier calcule une page en executant un squelette.
diff --git a/inc-chercher-squelette.php3 b/inc-chercher-squelette.php3
index 0e29bdf04db08cd408613b10c4eb8b8fe8daf9fe..96291ed11d7ae6b03668ae4ec5ab5878e4d8ecfd 100644
--- a/inc-chercher-squelette.php3
+++ b/inc-chercher-squelette.php3
@@ -11,9 +11,7 @@
 \***************************************************************************/
 
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_CHERCHER")) return;
-define("_INC_CHERCHER", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 // Ce fichier doit imperativement contenir la fonction chercher-squelette
 // (cf commentaires dans inc-calcul)
diff --git a/inc-compilo-api.php3 b/inc-compilo-api.php3
index 1e184f17ad232fffe31dbafb7f3bbfda8f95a38e..208557f0675a43bfc5fadc6fc0bd31f8b093842a 100644
--- a/inc-compilo-api.php3
+++ b/inc-compilo-api.php3
@@ -11,9 +11,7 @@
 \***************************************************************************/
 
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_COMPILO_API")) return;
-define("_INC_COMPILO_API", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 
 // Definition des noeuds de l'arbre de syntaxe abstraite
diff --git a/inc-compilo-index.php3 b/inc-compilo-index.php3
index 1d0277e0865bb21a6e12533b39560cc3b9261952..ba8ad28dbc181ace393a53ceabd055f72d377d80 100644
--- a/inc-compilo-index.php3
+++ b/inc-compilo-index.php3
@@ -15,9 +15,7 @@
 // fonctions de recherche et de reservation
 // dans l'arborescence des boucles
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_COMPILO_INDEX")) return;
-define("_INC_COMPILO_INDEX", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 // index_pile retourne la position dans la pile du champ SQL $nom_champ 
 // en prenant la boucle la plus proche du sommet de pile (indique par $idb).
diff --git a/inc-compilo.php3 b/inc-compilo.php3
index 46e94f4ff9068dabe38e1f831442e83ffc8c1100..830d4e0217aeef6c289514756dd132c1beaef8d8 100644
--- a/inc-compilo.php3
+++ b/inc-compilo.php3
@@ -15,9 +15,7 @@
 // Fichier principal du compilateur de squelettes
 //
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_COMPILO")) return;
-define("_INC_COMPILO", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 // reperer un code ne calculant rien, meme avec commentaire
 define('CODE_MONOTONE', "^(\n//[^\n]*\n)?\(?'([^'])*'\)?$");
diff --git a/inc-criteres.php3 b/inc-criteres.php3
index 0996a451714313f3c7dcc0909fd376c704ac6e06..d7d8987ad617706fc460edc5f77b9a6f22956729 100644
--- a/inc-criteres.php3
+++ b/inc-criteres.php3
@@ -15,9 +15,7 @@
 // Definition des {criteres} d'une boucle
 //
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_CRITERES")) return;
-define("_INC_CRITERES", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 
 // {racine}
diff --git a/inc-html-squel.php3 b/inc-html-squel.php3
index 93124e93c7c707fa473d81cdd6f11f201d17e59f..9be575fd2bc6f8c8f6a9026955d2dba95138afc3 100644
--- a/inc-html-squel.php3
+++ b/inc-html-squel.php3
@@ -11,9 +11,7 @@
 \***************************************************************************/
 
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_HTML_SQUEL")) return;
-define("_INC_HTML_SQUEL", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 # Ce fichier doit IMPERATIVEMENT contenir la fonction "phraser"
 # qui transforme un squelette en un tableau d'objets de classe Boucle
diff --git a/inc-messforum.php3 b/inc-messforum.php3
index b02f6f8eaaac0849b0c1640eddbb5f6a5e53f84d..ef76b39e24668608124bc00bae7c24c77eede350 100644
--- a/inc-messforum.php3
+++ b/inc-messforum.php3
@@ -10,6 +10,7 @@
  *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
 \***************************************************************************/
 
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 include_ecrire('inc_meta.php3');
 include_ecrire('inc_forum.php3');
diff --git a/inc-public-global.php3 b/inc-public-global.php3
index 7742c6071c7798f654094ba20835ac9bb0c7e0a9..d14a18362d351750ee67bcaf6e7e42df3fec131e 100644
--- a/inc-public-global.php3
+++ b/inc-public-global.php3
@@ -11,9 +11,7 @@
 \***************************************************************************/
 
 
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_PUBLIC_GLOBAL")) return;
-define("_INC_PUBLIC_GLOBAL", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 // fonction principale declenchant tout le service
 function calcule_header_et_page ($fond, $delais) {
@@ -48,8 +46,8 @@ function calcule_header_et_page ($fond, $delais) {
 	// Si envoi pour un forum, enregistrer puis rediriger
 
 	if (strlen($_POST['confirmer_forum']) > 0
-	OR ($GLOBALS['afficher_texte']=='non' AND $_POST['ajouter_mot'])) {
-		include('inc-messforum.php3');
+	    OR ($GLOBALS['afficher_texte']=='non' AND $_POST['ajouter_mot'])) {
+		include_local('inc-messforum.php3');
 		redirige_par_entete(enregistre_forum());
 	}
 
diff --git a/inc-stats.php3 b/inc-stats.php3
index cd90ccd77d385d5fe863ec8bf3729a3e7ff8f316..5a3b43b5d6a6333de525cfe7f4450e50b9fd0d43 100644
--- a/inc-stats.php3
+++ b/inc-stats.php3
@@ -12,9 +12,7 @@
 
 
 //
-// Ce fichier ne sera execute qu'une fois
-if (defined("_INC_STATS")) return;
-define("_INC_STATS", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 function ecrire_stats() {
 	global $id_article, $id_breve, $id_rubrique;
diff --git a/inc-urls-html.php3 b/inc-urls-html.php3
index 54cab2b1ab0b742c15a0c68e8c278ee70e8c1717..f8c439fd236c9edcadafe47925d365f201bb9aea 100644
--- a/inc-urls-html.php3
+++ b/inc-urls-html.php3
@@ -34,8 +34,7 @@ pouvez l'editer pour ne conserver que la partie concernant les URLS 'html'.
 */
 
 // executer une seule fois
-if (defined("_INC_URLS2")) return;
-define("_INC_URLS2", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 function generer_url_article($id_article) {
 	return "article$id_article.html";
diff --git a/inc-urls-propres.php3 b/inc-urls-propres.php3
index 61e601beec253306ef2cbc050543df101f61cbca..22b325a61a272f2d37bfe28a472daab3ed04429b 100644
--- a/inc-urls-propres.php3
+++ b/inc-urls-propres.php3
@@ -12,8 +12,7 @@
 
 
 // executer une seule fois
-if (defined("_INC_URLS2")) return;
-define("_INC_URLS2", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 /*
 
diff --git a/inc-urls-propres2.php3 b/inc-urls-propres2.php3
index e56e960fea7926152233fe77063d24c9cecdffb0..828257a2be0f4a686995ce2686afaf6f7e219659 100644
--- a/inc-urls-propres2.php3
+++ b/inc-urls-propres2.php3
@@ -24,4 +24,4 @@ if (!defined('_terminaison_urls_propres'))
 
 include('inc-urls-propres.php3');
 
-?>
\ No newline at end of file
+?>
diff --git a/inc-urls-standard.php3 b/inc-urls-standard.php3
index 76ff357ab0e697fe480d868df46237f1af40655d..3b67a075725f8a9e56cda51003fa8208869626f6 100644
--- a/inc-urls-standard.php3
+++ b/inc-urls-standard.php3
@@ -12,8 +12,7 @@
 
 
 // executer une seule fois
-if (defined("_INC_URLS2")) return;
-define("_INC_URLS2", "1");
+if (!defined("_ECRIRE_INC_VERSION")) return;
 
 function generer_url_article($id_article) {
 	return "article.php3?id_article=$id_article";
diff --git a/spip_cal.php3 b/spip_cal.php3
index 407c4f2d1911be418dfcd7e9ba6683a35b6c0f1c..050db2eed07c9381ff6623417c2c41c45049c111 100644
--- a/spip_cal.php3
+++ b/spip_cal.php3
@@ -20,8 +20,8 @@ $var_f = find_in_path('inc_' . $var_nom . '.php');
 
 if ($var_f) 
 	include($var_f);
-elseif (file_exists($var_f = (_DIR_INCLUDE . 'inc_' . $var_nom . '.php')))
-	include($var_f);
+else
+	include_ecrire('inc_' . $var_nom . '.php');
 
 if (function_exists($var_nom))
 	$var_nom($id, $cle);
diff --git a/spip_image.php3 b/spip_image.php3
index b9f8ab2bae9d44a2c1a79a90f60e3f93ceb43a6c..a42bb3658d8b7b68a43a91a0859a2af62156b8eb 100644
--- a/spip_image.php3
+++ b/spip_image.php3
@@ -20,8 +20,8 @@ $var_f = find_in_path('inc_' . $var_nom . '.php');
 
 if ($var_f) 
 	include($var_f);
-elseif (file_exists($var_f = (_DIR_INCLUDE . 'inc_' . $var_nom . '.php')))
-	include($var_f);
+ else include_ecrire('inc_' . $var_nom . '.php');
+	
 
 $var_nom .= '_' . $action;