From 0023ec83932beddb0f1c604f3c210189113c9b7a Mon Sep 17 00:00:00 2001 From: polo Date: Sat, 11 Jan 2025 12:59:10 +0100 Subject: =?UTF-8?q?lien=20symbolique=20pour=20la=20traduction=20de=20l'?= =?UTF-8?q?=C3=A9diteur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index b9e96af..bee8f37 100644 --- a/index.php +++ b/index.php @@ -5,6 +5,14 @@ require 'config.php'; +// lien symbolique des "translations" +$target = '../translations'; +$link = 'node_modules/ckeditor5/dist/browser/translations'; +if (!file_exists($link)) +{ + symlink($target, $link); +} + if(isset($_GET['action']) && $_GET['action'] === 'upload_image') // image insérée dans l'éditeur => requête AJAX { require 'lib/ckeditor5/image_upload.php'; -- cgit v1.2.3