We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcad0aa commit d7f2eedCopy full SHA for d7f2eed
phpctags
@@ -1,9 +1,9 @@
1
#!/usr/bin/php -q
2
<?php
3
-if (is_dir($vendor = __DIR__ . '/vendor')) {
4
- require($vendor . '/autoload.php');
5
-} elseif (is_dir($vendor = __DIR__ . '/../../../vendor')) {
6
+if (file_exists($autoload = __DIR__ . '/vendor/autoload.php')) {
+ require($autoload);
+} elseif (file_exists($autoload = __DIR__ . '/../../autoload.php')) {
7
} else {
8
die(
9
'You must set up the project dependencies, run the following commands:'.PHP_EOL.
0 commit comments