Backend-Editoren admin-geschuetzt (admin_gate) + Admin-Hub auf Admin-Seite; save_map admin-oder-lehrer; foto-upload admin-bypass (PIN bleibt)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-18 11:54:08 +02:00
parent 2bdaa0f6cc
commit b9bcbf9198
10 changed files with 82 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
# Direkter Zugriff auf die Editor-UI gesperrt — nur über den admin-geschützten
# editor.php (Admin-Gate) erreichbar. editor.php liest editor.html serverseitig.
<Files "editor.html">
Require all denied
</Files>
+8
View File
@@ -0,0 +1,8 @@
<?php
/**
* Admin-geschützter Zugang zum Tourismustal-Sprite-Editor.
* Nur mit Admin-Session erreichbar; die UI liegt in editor.html
* (per .htaccess vor direktem Zugriff gesperrt) und wird hier ausgeliefert.
*/
require __DIR__ . '/../../php/lib/admin_gate.php';
readfile(__DIR__ . '/editor.html');