File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313/bin /phpmd
1414PATCHES.txt
1515
16+ # Develop
17+ autoload.local.php
18+
1619# Binaries
1720/box.phar
1821/console.phar
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ $autoloaders = [ getcwd() . '/vendor/autoload.php' ];
Original file line number Diff line number Diff line change 77
88set_time_limit (0 );
99
10- $ autoloaders = [
11- __DIR__ . '/../../../autoload.php ' ,
12- __DIR__ . '/../vendor/autoload.php '
13- ];
10+ if (file_exists (__DIR__ . '/../autoload.local.php ' )) {
11+ require_once __DIR__ . '/../autoload.local.php ' ;
12+ }
13+ else {
14+ $ autoloaders = [
15+ __DIR__ . '/../../../autoload.php ' ,
16+ __DIR__ . '/../vendor/autoload.php '
17+ ];
18+ }
1419
1520foreach ($ autoloaders as $ file ) {
1621 if (file_exists ($ file )) {
1722 $ autoloader = $ file ;
1823 break ;
1924 }
2025}
26+
2127if (isset ($ autoloader )) {
2228 $ autoload = require_once $ autoloader ;
2329}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments