mb-admin/scripts/relay/check_relay_installation.sh

16 lines
362 B
Bash
Raw Permalink Normal View History

2024-09-18 15:44:48 +00:00
#!/bin/bash
# Function to check if relay is installed
check_relay_installed() {
# Checking if the relay extension is present in the PHP modules
if php -m | grep -q relay; then
echo "Relay/Object Cache Pro is installed."
else
echo "Relay/Object Cache Pro is not installed."
fi
}
# Execute the check
check_relay_installed
exit 0