From e72d55de83974935e15980df54fb0866eb6e1113 Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Wed, 20 Oct 2021 10:56:35 +0200
Subject: [PATCH] =?UTF-8?q?Acc=C3=A9lerer=20SPIP=204=20en=20retrouvant=20l?=
 =?UTF-8?q?es=20fichiers=20cache=20au=20lieu=20de=20calculer=20=C3=A0=20ch?=
 =?UTF-8?q?aque=20fois,=20=C3=A7a=20ira=20mieux=20:)=20(merci=20=C3=A0=20C?=
 =?UTF-8?q?hristophe=20Imberti=20pour=20l'identification=20du=20bug=20et?=
 =?UTF-8?q?=20de=20sa=20r=C3=A9solution)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/public/cacher.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/public/cacher.php b/ecrire/public/cacher.php
index 36f150a5cd..03c7eb675f 100644
--- a/ecrire/public/cacher.php
+++ b/ecrire/public/cacher.php
@@ -60,8 +60,8 @@ function cache_chemin_fichier($nom_cache, $ecrire = false) {
 		$rep = sous_repertoire($rep, $d, false, true);
 	}
 	else {
-		// en lecture on essaye pa de creer les repertoires, on va au plus vite
-		$rep = _DIR_CACHE . "$d/";
+		// en lecture on essaye pas de creer les repertoires, on va au plus vite
+		$rep = _DIR_CACHE . "calcul/$d/";
 	}
 
 	return $rep . $u . '.cache';
-- 
GitLab