Leite Legacy OTC auf ERP Formular um

This commit is contained in:
2026-08-12 17:26:07 +02:00
parent b266cc17a3
commit 769f448332
+5 -9
View File
@@ -1,12 +1,8 @@
<?php
declare(strict_types=1);
require_once __DIR__ . '/../../modules/shared/auth/service.php';
$env = expand_env_values(parse_env_file(__DIR__ . '/../../.env'));
$pdo = connect_database($env);
auth_bootstrap_session();
auth_ensure_schema($pdo);
auth_require_user($pdo);
require_once __DIR__ . '/../../modules/erp/direktverkauf/ui/index.php';
// The current OTC workflow is the authenticated, data-driven form on the ERP
// start page. The former standalone page had hard-coded products and an
// incompatible API payload.
header('Location: /', true, 302);
exit;