dbxapp
4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
dbxapp.de
Portal
Start
Anwender
Entwickler
KI-Bereiche
Loading...
Searching...
No Matches
dbxApi_bootstrap_delegation_test.php
Go to the documentation of this file.
1
<?php
2
3
function
dbx_get_base_dir
($cutData = 0): string {
4
return $cutData ?
'X:/portable-data-cut/'
:
'X:/portable/'
;
5
}
6
7
function
dbx_get_file_dir
(): string {
8
return
'X:/portable/files/'
;
9
}
10
11
require_once dirname(__DIR__, 2) .
'/vendor/autoload.php'
;
12
require_once dirname(__DIR__) .
'/dbxKernel.php'
;
13
14
if
(
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
21
echo
"OK dbxApi bootstrap delegation\n"
;
get_base_dir
get_base_dir(int $cutData=0)
Liefert das Basisverzeichnis der Installation.
Definition
dbxApi.php:1507
get_file_dir
get_file_dir()
Liefert das files/-Verzeichnis der Installation.
Definition
dbxApi.php:1524
dbx_get_file_dir
dbx_get_file_dir()
Definition
dbxApi_bootstrap_delegation_test.php:7
dbx_get_base_dir
dbx_get_base_dir($cutData=0)
Definition
dbxApi_bootstrap_delegation_test.php:3
exit
exit
Definition
index.php:146
dbx
DBX schema administration.
dbx
include
tests
dbxApi_bootstrap_delegation_test.php
Generated by
1.17.0