From b919725ef2990ba145fce66b2292bede5d7edc4c Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Thu, 8 Feb 2007 19:03:38 +0000
Subject: [PATCH] charger autoriser sur toutes les actions

---
 ecrire/public.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ecrire/public.php b/ecrire/public.php
index 1ab34d9aae..ef6599afda 100644
--- a/ecrire/public.php
+++ b/ecrire/public.php
@@ -46,6 +46,7 @@ if (defined('_INC_PUBLIC')) {
 
 	// Est-ce une action ?
 	if ($action = _request('action')) {
+		include_spip('inc/autoriser'); // chargement systematique pour les actions
 		include_spip('inc/headers');
 		$var_f = charger_fonction($action, 'action');
 		$var_f();
-- 
GitLab