asdasd
All checks were successful
Deploy / deploy-staging (push) Successful in 25s
Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-06-25 00:17:31 +02:00
parent 46111d8988
commit ac2d95fc56
140 changed files with 1168 additions and 1984 deletions

View File

@@ -4,6 +4,7 @@ declare(strict_types=1);
require_once dirname(__DIR__, 2) . '/src/App/bootstrap.php';
use App\AppPaths;
use ModulesCore\ModuleRegistry;
$projectRoot = dirname(__DIR__, 2);
@@ -15,7 +16,7 @@ if ($module === '' || $path === '' || str_contains($path, '..')) {
exit('Invalid module asset request.');
}
$registry = new ModuleRegistry($projectRoot . '/modules');
$registry = new ModuleRegistry(AppPaths::customAppsRoot($projectRoot));
$modulePath = $registry->modulePath($module);
if ($modulePath === null) {