Skip to content

Commit

Permalink
Fixed path to vendor files (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
intuibase authored Sep 9, 2024
1 parent 8df530b commit 8385175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prod/php/ElasticOTel/PhpPartFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ private static function isInDevMode(): bool

private static function registerAutoloader(): bool
{
$vendorDir = ProdPhpDir::$fullPath . __DIR__ . 'vendor' . (self::isInDevMode() ? '' : '_' . PHP_MAJOR_VERSION . PHP_MINOR_VERSION);
$vendorAutoloadPhp = $vendorDir . __DIR__ . 'autoload.php';
$vendorDir = ProdPhpDir::$fullPath . '/vendor' . (self::isInDevMode() ? '' : '_' . PHP_MAJOR_VERSION . PHP_MINOR_VERSION);
$vendorAutoloadPhp = $vendorDir . '/autoload.php';
if (!file_exists($vendorAutoloadPhp)) {
BootstrapStageLogger::logCritical("File $vendorAutoloadPhp does not exist", __LINE__, __FUNCTION__);
return false;
Expand Down

0 comments on commit 8385175

Please sign in to comment.