Skip to content

Commit

Permalink
Basic Bootstrap Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Kito Git Service committed Jun 3, 2024
1 parent 906bc1e commit 32c3738
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ function ($classNameSpace) {

if (file_exists($classPath)) {
require_once $classPath;

return;
}

$classPath = __DIR__.DIRECTORY_SEPARATOR.'tests'.DIRECTORY_SEPARATOR.implode(DIRECTORY_SEPARATOR, $classNameSpace).'.php';

if (file_exists($classPath)) {
require_once $classPath;

return;
}
}
);

0 comments on commit 32c3738

Please sign in to comment.