Skip to content

Commit 36ca241

Browse files
authored
fix: broken path to autoload files in gt-compat (#666)
1 parent e75f58b commit 36ca241

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gt-compat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
strlen(GT_COMPAT_MODERN_PREFIX)
1515
);
1616

17-
$classMapPath = __DIR__ . "/vendor/composer/autoload_classmap.php";
17+
$classMapPath = "vendor/composer/autoload_classmap.php";
1818
if(is_file($classMapPath)) {
1919
/** @var array<string,string> $classMap */
2020
$classMap = require $classMapPath;
@@ -24,7 +24,7 @@
2424
}
2525
}
2626

27-
$psr4Path = __DIR__ . "/vendor/composer/autoload_psr4.php";
27+
$psr4Path = "vendor/composer/autoload_psr4.php";
2828
if(!is_file($psr4Path)) {
2929
return;
3030
}

0 commit comments

Comments
 (0)