@@ -1429,8 +1429,7 @@ discard block |
||
| 1429 | 1429 | and $f = find_in_theme("$file_svg_generique")) { |
| 1430 | 1430 | if ($fsize = substr($f,0,-6) . $m[1] . ".svg" and file_exists($fsize)) { |
| 1431 | 1431 | return $themefiles["$subdir$file"] = $fsize; |
| 1432 | - } |
|
| 1433 | - else { |
|
| 1432 | + } else { |
|
| 1434 | 1433 | return $themefiles["$subdir$file"] = "$f?".$m[1]."px"; |
| 1435 | 1434 | } |
| 1436 | 1435 | } |
@@ -2374,12 +2373,13 @@ discard block |
||
| 2374 | 2373 | define('_DIR_CHMOD', $pi); |
| 2375 | 2374 | } |
| 2376 | 2375 | |
| 2377 | - if (!isset($GLOBALS['test_dirs'])) |
|
| 2378 | - // Pas $pi car il est bon de le mettre hors ecriture apres intstall |
|
| 2376 | + if (!isset($GLOBALS['test_dirs'])) { |
|
| 2377 | + // Pas $pi car il est bon de le mettre hors ecriture apres intstall |
|
| 2379 | 2378 | // il sera rajoute automatiquement si besoin a l'etape 2 de l'install |
| 2380 | 2379 | { |
| 2381 | 2380 | $GLOBALS['test_dirs'] = array($pa, $ti, $ta); |
| 2382 | 2381 | } |
| 2382 | + } |
|
| 2383 | 2383 | |
| 2384 | 2384 | // Declaration des fichiers |
| 2385 | 2385 | |
@@ -3447,8 +3447,7 @@ discard block |
||
| 3447 | 3447 | if (!in_array('svg', $formats)) { |
| 3448 | 3448 | $formats[] = 'svg'; |
| 3449 | 3449 | } |
| 3450 | - } |
|
| 3451 | - else { |
|
| 3450 | + } else { |
|
| 3452 | 3451 | $formats = array_diff($formats, ['svg']); |
| 3453 | 3452 | } |
| 3454 | 3453 | return $formats; |