Use env to find php in the shebang

This commit is contained in:
Miraty 2024-02-10 13:46:27 +01:00
parent 078842fbc5
commit a13aadc3c7
1 changed files with 1 additions and 1 deletions

View File

@ -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);