dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
dbxApi_bootstrap_delegation_test.php
Go to the documentation of this file.
1<?php
2
3function dbx_get_base_dir($cutData = 0): string {
4 return $cutData ? 'X:/portable-data-cut/' : 'X:/portable/';
5}
6
7function dbx_get_file_dir(): string {
8 return 'X:/portable/files/';
9}
10
11require_once dirname(__DIR__, 2) . '/vendor/autoload.php';
12require_once dirname(__DIR__) . '/dbxKernel.php';
13
14if (dbx()->get_base_dir() !== 'X:/portable/'
15 || dbx()->get_base_dir(1) !== 'X:/portable-data-cut/'
16 || dbx()->get_file_dir() !== 'X:/portable/files/') {
17 fwrite(STDERR, "FAIL: dbxApi delegiert die Bootstrap-Pfade nicht korrekt.\n");
18 exit(1);
19}
20
21echo "OK dbxApi bootstrap delegation\n";
get_base_dir(int $cutData=0)
Liefert das Basisverzeichnis der Installation.
Definition dbxApi.php:1507
get_file_dir()
Liefert das files/-Verzeichnis der Installation.
Definition dbxApi.php:1524
dbx_get_base_dir($cutData=0)
exit
Definition index.php:146
DBX schema administration.