Corrige un warning si aucun fichier optionel n'est présent (thunderbird.mod.*.php)
This commit is contained in:
parent
55129382fa
commit
08fe67bfd5
|
@ -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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user