Use env to find php in the shebang
This commit is contained in:
parent
078842fbc5
commit
a13aadc3c7
1 changed files with 1 additions and 1 deletions
2
mkht.php
2
mkht.php
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/php
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
if (php_sapi_name() !== 'cli')
|
||||
exit('Must be run from CLI.' . PHP_EOL);
|
||||
|
|
Loading…
Reference in a new issue