From 32ccbbe8478b5c5ddcbb9243e7beb2aeaa94b530 Mon Sep 17 00:00:00 2001 From: kent1 <kent1@arscenic.info> Date: Fri, 25 Nov 2016 10:54:14 +0000 Subject: [PATCH] PSR --- spip.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spip.php b/spip.php index 91223cc124..2488bd4323 100644 --- a/spip.php +++ b/spip.php @@ -11,14 +11,16 @@ \***************************************************************************/ # ou est l'espace prive ? -if (!defined('_DIR_RESTREINT_ABS')) define('_DIR_RESTREINT_ABS', 'ecrire/'); +if (!defined('_DIR_RESTREINT_ABS')) { + define('_DIR_RESTREINT_ABS', 'ecrire/'); +} include_once _DIR_RESTREINT_ABS.'inc_version.php'; # rediriger les anciens URLs de la forme page.php3fond=xxx if (isset($_GET['fond'])) { include_spip('inc/headers'); redirige_par_entete(generer_url_public($_GET['fond'])); - } +} # au travail... include _DIR_RESTREINT_ABS.'public.php'; -- GitLab