generated from Nodarx/template
0082d884d5
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
18 lines
619 B
PHP
18 lines
619 B
PHP
<?php
|
|
|
|
require dirname(__DIR__, 2).'/lib/vendor/autoload.php';
|
|
|
|
// When this module is checked out inside a full server (server/modules/<handle>,
|
|
// as it is in CI and in this monorepo checkout), also load the server's own
|
|
// core/shared autoloader so tests can reference framework (KTXC/KTXF) types.
|
|
// Standalone module checkouts without a server alongside them skip this.
|
|
define('SERVER_ROOT', dirname(__DIR__, 4));
|
|
$serverAutoload = SERVER_ROOT . '/vendor/autoload.php';
|
|
if (is_file($serverAutoload)) {
|
|
require $serverAutoload;
|
|
}
|
|
|
|
if (isset($_SERVER['APP_DEBUG']) && $_SERVER['APP_DEBUG']) {
|
|
umask(0000);
|
|
}
|