tikiwiki/packages/tiki-pkg-tikimanager/gitonomy/gitlib/tests/bootstrap.php
2023-11-20 20:52:04 +00:00

15 lines
356 B
PHP
Executable File

<?php
require __DIR__.'/../vendor/autoload.php';
if (defined('PHP_WINDOWS_VERSION_BUILD')) {
$server = array_change_key_case($_SERVER, true);
$_SERVER['GIT_ENVS'] = [];
foreach (['PATH', 'SYSTEMROOT'] as $key) {
if (isset($server[$key])) {
$_SERVER['GIT_ENVS'][$key] = $server[$key];
}
}
unset($server);
}