Skip to content

Commit db67262

Browse files
committed
Fix vendor path in bootstrap
1 parent aef2b5b commit db67262

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bootstrap.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<?php
22

33
// require composer autoload
4-
$path = (getenv('MPDF_ROOT')) ? getenv('MPDF_ROOT') : __DIR__;
4+
$envRoot = getenv('MPDF_ROOT');
5+
$path = $envRoot ?: __DIR__;
56

6-
require_once $path . '/../repo/vendor/autoload.php';
7+
require_once $path . '/vendor/autoload.php';
78

89
Tracy\Debugger::enable(Tracy\Debugger::DEVELOPMENT, __DIR__ . '/log');
910
Tracy\Debugger::$strictMode = true;

0 commit comments

Comments
 (0)