Bernd Wurst commited on 2019-01-12 13:43:44
              Zeige 1 geänderte Dateien mit 3 Einfügungen und 0 Löschungen.
            
| ... | ... | 
                      @@ -211,6 +211,9 @@ if ($_GET['action'] == 'edit') {
                     | 
                  
| 211 | 211 | 
                             DEBUG("PHP: {$php} / Logging: {$logtype}");
                       | 
                    
| 212 | 212 | 
                         | 
                    
| 213 | 213 | 
                             $old_options = explode(',', $vhost['options']);
                       | 
                    
| 214 | 
                        +    if ($vhost['options'] == '') {
                       | 
                    |
| 215 | 
                        + $old_options = array();  | 
                    |
| 216 | 
                        + }  | 
                    |
| 214 | 217 | 
                        $new_options = array();  | 
                    
| 215 | 218 | 
                             foreach ($old_options as $op) {
                       | 
                    
| 216 | 219 | 
                                 if (! in_array($op, array('aliaswww', 'forwardwww', 'forwardnowww', 'hsts_subdomains', 'hsts_preload'))) {
                       | 
                    
| 217 | 220 |