Switch check to to phive installed tools, fix in phpunit bootsrap file

This commit is contained in:
Clemens Schwaighofer
2023-10-04 14:58:29 +09:00
parent c4c809be66
commit a304d29698
5 changed files with 13 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
<?php
$set = 0;
foreach (['/../..', '/..', '/../../www', '/../www'] as $src) {
foreach (['/../../www', '/../www', '/../..', '/..', '/../../src', '/../src'] as $src) {
if (is_file(dirname(__DIR__) . $src . '/vendor/autoload.php')) {
require dirname(__DIR__) . $src . '/vendor/autoload.php';
$set = 1;