mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-11 07:41:17 +02:00
cleanup modal: list stale files to remove; storage restructure: documents/ → {objet}/
This commit is contained in:
@@ -50,8 +50,8 @@ class MediaController
|
||||
exit;
|
||||
}
|
||||
|
||||
// 3. Visibility gate for thesis files (both legacy theses/ and new documents/ paths)
|
||||
if (preg_match('#^(theses|documents)/#', $requestedPath)) {
|
||||
// 3. Visibility gate for thesis files (legacy theses/ and documents/, new tfe/these/frart/ paths)
|
||||
if (preg_match('#^(theses|documents|tfe|these|frart)/#', $requestedPath)) {
|
||||
require_once APP_ROOT . '/src/Database.php';
|
||||
require_once APP_ROOT . '/src/ErrorHandler.php';
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user