Skip to content

Commit 78d5a73

Browse files
committed
Autoload patch
1 parent 4fd426e commit 78d5a73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/unitary

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
* MaplePHP Unitary unit testing library
55
* @example php unitary --path=fullDirPath --exclude="dir1/dir2/
66
*/
7-
require __DIR__ . '/../vendor/autoload.php';
7+
8+
require $GLOBALS['_composer_autoload_path'];
89

910
use MaplePHP\Http\Environment;
1011
use MaplePHP\Http\ServerRequest;

0 commit comments

Comments
 (0)