From fdef77d4a8817b6e8940951f3301ad94bde0e6c6 Mon Sep 17 00:00:00 2001 From: polo Date: Mon, 5 Jun 2023 14:51:09 +0200 Subject: suppression de $_SESSION['file_code'] --- model/Article.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'model/Article.php') diff --git a/model/Article.php b/model/Article.php index d94ba01..3eca127 100644 --- a/model/Article.php +++ b/model/Article.php @@ -17,8 +17,7 @@ class Article public $fileList; // = toutes les données // pour un article (ou album) spécifique - //public $fileName = ''; // = $_SESSION['nomFichier'] - public $fileCode = ''; // = $_SESSION['file_code'] + public $fileCode = ''; // = $_SERVER['HTTP_REFERER'] protected $time; // timestamp pour noms des fichiers créés public function __construct(string $page, string $folder) -- cgit v1.2.3