2021-08-08 16:52:40 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-09-28 10:27:17 +00:00
|
|
|
. "$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)/_bootstrap.sh"
|
2021-08-08 16:52:40 +00:00
|
|
|
|
|
|
|
if test -z "$(php --ri blackfire | grep 'Blackfire => enabled')"; then
|
|
|
|
echo 'Blackfire PHP Probe is disabled' >&2
|
|
|
|
rc=1
|
|
|
|
else
|
|
|
|
echo 'Blackfire PHP Probe is enabled'
|
|
|
|
rc=0
|
|
|
|
fi
|
|
|
|
exit $rc
|