Files
web-installer/scan.php
root 46e7d51010
All checks were successful
continuous-integration/drone/push Build is passing
redis check
2024-08-05 19:29:52 +02:00

23 lines
327 B
PHP

<?php
include "functions.php";
switch ($_GET["op"]) {
case "redis":
try {
$ret = ping_redis();
if ($ret===false) {
echo "Can't ping redis-server";
}
else echo true;
} catch (RedisException $e) {
echo "RedisException caught: " . $e->getMessage();
}
break;
case "docker":
echo true;
break;
}
?>