Hanno Böck commited on 2013-07-28 11:51:25
Zeige 4 geänderte Dateien mit 15 Einfügungen und 3 Löschungen.
... | ... |
@@ -36,6 +36,12 @@ function icon_enabled_php54($title = '') |
36 | 36 |
return "<img src=\"{$prefix}images/ok-php54.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />"; |
37 | 37 |
} |
38 | 38 |
|
39 |
+function icon_enabled_php55($title = '') |
|
40 |
+{ |
|
41 |
+ global $prefix; |
|
42 |
+ return "<img src=\"{$prefix}images/ok-php55.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />"; |
|
43 |
+} |
|
44 |
+ |
|
39 | 45 |
function icon_enabled_warning($title = '') |
40 | 46 |
{ |
41 | 47 |
global $prefix; |
... | ... |
@@ -166,7 +166,7 @@ $phpoptions = "<h5>PHP</h5> |
166 | 166 |
*/ |
167 | 167 |
//if ($vhost['php'] == 'php54') |
168 | 168 |
//{ |
169 |
- $options = array("none" => 'ausgeschaltet', "php53" => 'PHP 5.3' , "php54" => "PHP 5.4"); |
|
169 |
+ $options = array("none" => 'ausgeschaltet', "php53" => 'PHP 5.3 (veraltet)' , "php54" => "PHP 5.4", "php55" => "PHP 5.5 (experimentell)"); |
|
170 | 170 |
$phpoptions = " |
171 | 171 |
<h5>PHP</h5> |
172 | 172 |
<div style=\"margin-left: 2em;\"> |
... | ... |
@@ -126,11 +126,14 @@ if (count($vhosts) > 0) |
126 | 126 |
case 'fastcgi': |
127 | 127 |
$php = icon_enabled_warning('PHP in veralteter Version aktiviert'); |
128 | 128 |
break; |
129 |
+ case 'php53': |
|
130 |
+ $php = icon_enabled_php53('PHP in Version 5.3 eingeschaltet'); |
|
131 |
+ break; |
|
129 | 132 |
case 'php54': |
130 | 133 |
$php = icon_enabled_php54('PHP in Version 5.4 eingeschaltet'); |
131 | 134 |
break; |
132 |
- case 'php53': |
|
133 |
- $php = icon_enabled_php53('PHP in Version 5.3 eingeschaltet'); |
|
135 |
+ case 'php55': |
|
136 |
+ $php = icon_enabled_php55('PHP in Version 5.5 eingeschaltet'); |
|
134 | 137 |
break; |
135 | 138 |
} |
136 | 139 |
output("<td>{$php}</td>"); |
137 | 140 |