From c9aa466345fbcc131edb24e4176eebdb3dab21d1 Mon Sep 17 00:00:00 2001
From: Remi Collet
Date: Fri, 18 Dec 2015 12:40:44 +0100
Subject: wizard: display stat
---
wizard/index.php | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/wizard/index.php b/wizard/index.php
index 546487f9..80a83e5c 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -10,6 +10,8 @@
'5.4',
'RHEL 6' => '5.3',
@@ -89,6 +91,8 @@ $type = (isset($_POST['type']) && isset($types[$_POST['type']]) ? $_POST['type'
Wizard answer
Debug: $os, $type, $php (%s)
", print_r($_POST, true));
$err = false;
if ($os) {
@@ -164,6 +168,8 @@ if ($php && $os && $type && !$err) {
printf(" php --version\n php --modules
");
printf("
");
}
+ $counter++;
+ @file_put_contents(COUNTER, "$counter\n");
} else {
printf("You want multiple versions which means using a Software Collection
");
$scl='php'.str_replace('.', '', $php);
@@ -188,6 +194,8 @@ if ($php && $os && $type && !$err) {
printf("Command to check the installed version and available extensions:");
printf(" %s --version\n %s --modules
", $scl, $scl);
printf("
");
+ $counter++;
+ @file_put_contents(COUNTER, "$counter\n");
}
} else if (!$os) {
echo "Please select the operating system you are running.
";
@@ -207,6 +215,9 @@ if ($php && $os && $type && !$err) {