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.
2 parents ce0c3a5 + 089fa16 commit c618925Copy full SHA for c618925
bin/php-noxdebug
@@ -1,3 +1,4 @@
1
#!/bin/sh
2
-PREPEND=$(readlink -f -- "$(dirname $(readlink -f -- $0))/../src/prepend.php")
+set -e
3
+PREPEND="$(php -n -r 'echo realpath(dirname(realpath($argv[1])) . "/../src/prepend.php");' -- "$0")"
4
exec php -d"auto_prepend_file=$PREPEND" "$@"
0 commit comments