PHP 5.4 ist nicht mehr experimentell
Bernd Wurst

Bernd Wurst commited on 2013-01-11 13:58:24
Zeige 5 geänderte Dateien mit 15 Einfügungen und 3 Löschungen.

... ...
@@ -24,6 +24,18 @@ function icon_warning($title = '')
24 24
 
25 25
 
26 26
 
27
+function icon_enabled_php53($title = '')
28
+{
29
+  global $prefix;
30
+  return "<img src=\"{$prefix}images/ok-php53.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
31
+}
32
+
33
+function icon_enabled_php54($title = '')
34
+{
35
+  global $prefix;
36
+  return "<img src=\"{$prefix}images/ok-php54.png\" style=\"height: 16px; width: 16px;\" alt=\"{$title}\" title=\"{$title}\" />";
37
+}
38
+
27 39
 function icon_enabled_warning($title = '')
28 40
 {
29 41
   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" => "Experimentell: PHP 5.4");
169
+  $options = array("none" => 'ausgeschaltet', "php53" => 'PHP 5.3' , "php54" => "PHP 5.4");
170 170
   $phpoptions = "
171 171
   <h5>PHP</h5>
172 172
   <div style=\"margin-left: 2em;\">
... ...
@@ -111,10 +111,10 @@ if (count($vhosts) > 0)
111 111
           $php = icon_enabled_warning('PHP in veralteter Version aktiviert');
112 112
           break;
113 113
         case 'php54':
114
-          $php = icon_enabled_warning('PHP in experimenteller Version');
114
+          $php = icon_enabled_php54('PHP in Version 5.4 eingeschaltet');
115 115
           break;
116 116
         case 'php53':
117
-          $php = icon_enabled('PHP eingeschaltet');
117
+          $php = icon_enabled_php53('PHP in Version 5.3 eingeschaltet');
118 118
           break;
119 119
       }
120 120
       output("<td>{$php}</td>");
121 121