Leite Legacy OTC auf ERP Formular um
This commit is contained in:
@@ -1,12 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
require_once __DIR__ . '/../../modules/shared/auth/service.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
|
||||||
$env = expand_env_values(parse_env_file(__DIR__ . '/../../.env'));
|
// incompatible API payload.
|
||||||
$pdo = connect_database($env);
|
header('Location: /', true, 302);
|
||||||
auth_bootstrap_session();
|
exit;
|
||||||
auth_ensure_schema($pdo);
|
|
||||||
auth_require_user($pdo);
|
|
||||||
|
|
||||||
require_once __DIR__ . '/../../modules/erp/direktverkauf/ui/index.php';
|
|
||||||
|
|||||||
Reference in New Issue
Block a user