File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 99\define ('WORKING_DIR ' , getcwd ());
1010\define ('APPLICATION_ROOT ' , \dirname (__DIR__ ));
1111
12- $ customAutoLoadPath = WORKING_DIR . '/vendor/autoload.php ' ;
1312// Allows to specify a custom autoload path to avoid overriding Hipex deploy packages
1413// when the same packages are used by your application and Hipex Deploy.
1514if (getenv ('DEPLOY_AUTOLOAD_PATH ' ) !== false ) {
1615 $ customAutoLoadPath = getenv ('DEPLOY_AUTOLOAD_PATH ' );
17- }
1816
19- if (file_exists ($ customAutoLoadPath )) {
20- require_once $ customAutoLoadPath ;
17+ if (file_exists ($ customAutoLoadPath )) {
18+ require_once $ customAutoLoadPath ;
19+ }
2120}
2221
22+
2323/** @var \Composer\Autoload\ClassLoader $loader */
2424$ loader = require_once APPLICATION_ROOT . '/vendor/autoload.php ' ;
2525if (!array_key_exists ('Deployer \\' , $ loader ->getPrefixesPsr4 ())) {
You can’t perform that action at this time.
0 commit comments