From b15b94cb298e72ed263ab23d80e26446b9fd655e Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 4 Feb 2020 19:08:18 +0100 Subject: [PATCH] PHP7 --- lam/lib/cron.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lam/lib/cron.sh b/lam/lib/cron.sh index ef0fb3e7..83f13d2c 100755 --- a/lam/lib/cron.sh +++ b/lam/lib/cron.sh @@ -2,10 +2,7 @@ dir=`dirname $0` -if [ -x /usr/bin/php5 ]; then - /usr/bin/php5 -f $dir/cron.inc $* - exit $? -elif [ -x /usr/bin/php ]; then +if [ -x /usr/bin/php ]; then /usr/bin/php -f $dir/cron.inc $* exit $? fi