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:
@@ -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>
|
||||
@@ -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');
|
||||
Reference in New Issue
Block a user