Bernd Wurst commited on 2012-03-12 13:44:47
Zeige 3 geänderte Dateien mit 12 Einfügungen und 5 Löschungen.
... | ... |
@@ -149,7 +149,9 @@ $form .= "<br /><input type=\"checkbox\" name=\"options[]\" id=\"aliaswww\" valu |
149 | 149 |
</div> |
150 | 150 |
"; |
151 | 151 |
|
152 |
- |
|
152 |
+/* |
|
153 |
+ * Boolean option, to be used when only one PHP version is available |
|
154 |
+ */ |
|
153 | 155 |
$have_php = ($vhost['php'] == 'php53' ? ' checked="checked" ' : ''); |
154 | 156 |
|
155 | 157 |
$phpoptions = "<h5>PHP</h5> |
... | ... |
@@ -157,13 +159,12 @@ $phpoptions = "<h5>PHP</h5> |
157 | 159 |
<input type=\"checkbox\" name=\"php\" id=\"php\" value=\"php53\" {$have_php}/> <label for=\"php\">PHP einschalten</label> |
158 | 160 |
</div> |
159 | 161 |
"; |
160 |
- |
|
161 | 162 |
/* |
162 |
- * Zeige ein Auswahlmenü, wenn bisher PHP 5.2 eingestellt war! |
|
163 |
+ * Choose what PHP version to use |
|
163 | 164 |
*/ |
164 |
-if ($vhost['php'] == 'fastcgi') |
|
165 |
+if ($vhost['php'] == 'php54') |
|
165 | 166 |
{ |
166 |
- $options = array("none" => 'ausgeschaltet', "php53" => 'PHP 5.3' , "fastcgi" => "Kompatibilitätsmodus: PHP 5.2"); |
|
167 |
+ $options = array("none" => 'ausgeschaltet', "php53" => 'PHP 5.3' , "php54" => "Vorabversion: PHP 5.4"); |
|
167 | 168 |
$phpoptions = " |
168 | 169 |
<h5>PHP</h5> |
169 | 170 |
<div style=\"margin-left: 2em;\"> |
... | ... |
@@ -110,6 +110,9 @@ if (count($vhosts) > 0) |
110 | 110 |
case 'fastcgi': |
111 | 111 |
$php = icon_enabled_warning('PHP in veralteter Version aktiviert'); |
112 | 112 |
break; |
113 |
+ case 'php54': |
|
114 |
+ $php = icon_enabled_warning('PHP in experimenteller Version'); |
|
115 |
+ break; |
|
113 | 116 |
case 'php53': |
114 | 117 |
$php = icon_enabled('PHP eingeschaltet'); |
115 | 118 |
break; |
116 | 119 |