Skip to content

Commit

Permalink
Search php binary in user's $PATH is more flexibel
Browse files Browse the repository at this point in the history
  • Loading branch information
phaldan authored May 9, 2017
1 parent aa66055 commit f635703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/phpca
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/php
#!/usr/bin/env php
<?php
// ? create-project installation : require installation
$vendor_dir = is_dir(dirname(dirname((__FILE__))).'/vendor') ? dirname(dirname((__FILE__))).'/vendor' : dirname(dirname(dirname(dirname(__FILE__))));
Expand Down Expand Up @@ -57,4 +57,4 @@ if (!empty($args['FILES'])) {
echo PHP_EOL;
$analyzer->printUsedExtensions();
}
}
}

0 comments on commit f635703

Please sign in to comment.