Corrige un warning si aucun fichier optionel n'est présent (thunderbird.mod.*.php)

sessionscripts
Daniel Berteaud 13 years ago
parent 55129382fa
commit 08fe67bfd5
  1. 4
      root/usr/share/mozilla-mcd/thunderbird.php

@ -114,7 +114,9 @@ defaultPref("mail.imap.expunge_option", 3);
defaultPref("mail.imap.expunge_threshold_number", 100); defaultPref("mail.imap.expunge_threshold_number", 100);
<?php <?php
foreach (glob("thunderbird.mod.*.php") as $filename){ if (is_array(glob("thunderbird.mod.*.php"))){
foreach (glob("thunderbird.mod.*.php") as $filename){
require($filename); require($filename);
}
} }
?> ?>

Loading…
Cancel
Save