Initial xentral_oss_20.3.c9ffacf

This commit is contained in:
Alex
2021-05-21 08:49:41 +02:00
parent 5406e4a551
commit 34e5ac43d9
18884 changed files with 2109867 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
use Xentral\Modules\Api\Engine\ApiContainer;
if (!defined('API_REQUEST')) {
define('API_REQUEST', true);
}
if (!class_exists('Config', true)) {
// Anpassung für Demo-Server; dort liegen Config und Anwendung in unterschiedlichen Verzeichnissen
include dirname(dirname(dirname($_SERVER['SCRIPT_FILENAME']))) . DIRECTORY_SEPARATOR . 'conf/main.conf.php';
}
if (isset($_SERVER['HTTP_MULTIDB']) && (string)$_SERVER['HTTP_MULTIDB'] !== '') {
define('MULTIDB', (string)$_SERVER['HTTP_MULTIDB']);
}
return new ApiContainer();