Update MDTlLoader and MDAllowedValueSets
phpcs-errors:226 phpunit-status:successful phpstan-errors:209
This commit is contained in:
28
inc/constants.php
Normal file
28
inc/constants.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?PHP
|
||||
/**
|
||||
* This file collects global constants to the code of the frontend.
|
||||
*
|
||||
* @file
|
||||
*
|
||||
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
||||
*/
|
||||
declare(strict_types = 1);
|
||||
|
||||
const TL_FILE_DIRS = [
|
||||
__DIR__ . "/../l10n/musdb/",
|
||||
__DIR__ . "/../classes/MDAllowedValueSets/l18n/",
|
||||
];
|
||||
|
||||
const AUTOLOAD_DIRS = [
|
||||
__DIR__ . "/../classes/MDTlLoader/src",
|
||||
__DIR__ . "/../classes/MD_STD",
|
||||
__DIR__ . "/../classes/MDAllowedValueSets/src",
|
||||
__DIR__ . "/../classes/MDExportFormats/src",
|
||||
__DIR__ . "/../classes/MDErrorReporter",
|
||||
__DIR__ . "/../classes/MDMailer/src",
|
||||
__DIR__ . "/../conf",
|
||||
__DIR__ . "/../classes/MDErrorReporter/exceptions/generic",
|
||||
__DIR__ . "/../classes/MDErrorReporter/exceptions/page",
|
||||
__DIR__ . "/../classes/MDErrorReporter/exceptions/updates",
|
||||
__DIR__ . "/../classes/MDTlLoader/exceptions",
|
||||
];
|
Reference in New Issue
Block a user