Verified Commit 72a65b33 authored by Arnaud Pauget's avatar Arnaud Pauget
Browse files

fix (7756) : allow multiple formats of thesaurus

parent 8282726b
......@@ -428,7 +428,7 @@ class archive
if (isset($conf['refDirectory']) || is_dir($conf['refDirectory'])) {
$refDirectory = $conf['refDirectory'];
foreach ($thesaurusNames as $thesaurusName) {
if (is_file($conf['refDirectory'].'/'.$thesaurusName.'.csv')) {
if (glob($conf['refDirectory'].'/'.$thesaurusName.'.*')) {
$thesaurusList->$thesaurusName = $thesaurusName;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment