From b7de08c9a1c843c92b988ab542fa70db88732a0d Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sat, 6 Dec 2025 03:17:46 +0100 Subject: [PATCH] adsad --- public/editor/editor-core.php | 4 ++-- public/index.php | 11 ++++++----- public/login.php | 9 +++++---- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/public/editor/editor-core.php b/public/editor/editor-core.php index f6da171..164805d 100644 --- a/public/editor/editor-core.php +++ b/public/editor/editor-core.php @@ -1,7 +1,7 @@ @@ -41,7 +41,7 @@ $ts = time(); function loadLocalScript(src, onok){ // Hinzufügen des Cache-Bust-Parameters zur URL // Die Variable $ts wird durch PHP im HTML-Kontext eingefügt - const url = src + (src.indexOf('?') === -1 ? '?v=' : '&v=') + ; + const url = src + (src.indexOf('?') === -1 ? '?v=' : '&v=') + ; var s=document.createElement('script'); s.src=url; s.async=false; s.onload=function(){ logToParent('script-ok', src); onok&&onok(); }; s.onerror=function(){ var b=document.getElementById('badge'); if(b){ b.textContent='Fehlt: '+src; b.style.background='#fee2e2'; b.style.color='#7f1d1d'; b.style.borderColor='#fecaca'; } logToParent('script-missing', src); }; diff --git a/public/index.php b/public/index.php index d6cd6ee..1738ec9 100644 --- a/public/index.php +++ b/public/index.php @@ -1,5 +1,6 @@ @@ -18,10 +19,10 @@ $base = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/') ?: ''; - + - +