- improved finding location/version for phpmyadmin

- changed all logging to use verbose
- implemented verbosity level 2, which prints all versions found (recent ones too)
This commit is contained in:
florian
2013-10-08 08:15:47 +00:00
parent 00252a4bab
commit 0ea8595cd3
4 changed files with 19 additions and 8 deletions

View File

@@ -30,7 +30,9 @@ function checkHost($host, $cake_current) {
$location = substr($parts[0], 0, strlen($parts[0])-16);
$version = $parts[1];
if($version < $cake_current) {
echo "WARNING: Outdated CakePHP $version at $hostidentifier$location\n";
verbose("WARNING: Outdated CakePHP $version at $hostidentifier$location", 0);
} else {
verbose("Recent CakePHP $version at $hostidentifier$location", 2);
}
}
unset($results);