#!/bin/bash

. ${TOOLKIT}-functions.sh

phpver=$(jtconf php.version)

case $phpver in
  7.*)	;; # OK
  *)
  	putwarning "LINFO, PHP $phpver not supported,"  \
		"this version of Linfo works only with PHP 7, disabled"
	file="/etc/apache2/conf.d/ku-linfo.conf"
	[ -f "$file" ] && rm "$file"
	exit 1
	;;
esac

exit 0
