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

This commit is contained in:
Daniel Berteaud 2012-06-26 12:33:34 +02:00
parent 55129382fa
commit 08fe67bfd5

View File

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