PHP7
This commit is contained in:
parent
c468ba6479
commit
b15b94cb29
|
@ -2,10 +2,7 @@
|
||||||
|
|
||||||
dir=`dirname $0`
|
dir=`dirname $0`
|
||||||
|
|
||||||
if [ -x /usr/bin/php5 ]; then
|
if [ -x /usr/bin/php ]; then
|
||||||
/usr/bin/php5 -f $dir/cron.inc $*
|
|
||||||
exit $?
|
|
||||||
elif [ -x /usr/bin/php ]; then
|
|
||||||
/usr/bin/php -f $dir/cron.inc $*
|
/usr/bin/php -f $dir/cron.inc $*
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue