From 3ec0db5ffd3f7eb0370a320977769be8fd3b0ff7 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 15 Oct 2013 20:03:19 +0000 Subject: [PATCH] use json method to find phpmyadmin version (courtesy WvR) --- run.d/phpmyadmin | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.d/phpmyadmin b/run.d/phpmyadmin index 65c767e..e6fd5f1 100755 --- a/run.d/phpmyadmin +++ b/run.d/phpmyadmin @@ -2,9 +2,9 @@ phpMyAdmin\-([0-9\.]+)\-all\-languages\.tar\.gzversion)>0) { + $pma_current = $pma_api->version; verbose("Current PHPMyAdmin version: $pma_current", 1); } else { die("Unable to determine current PHPMyAdmin version, exiting\n");