Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
72a65b33
Verified
Commit
72a65b33
authored
Nov 18, 2019
by
Arnaud Pauget
Browse files
fix (7756) : allow multiple formats of thesaurus
parent
8282726b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Presenter/recordsManagement/archive.php
View file @
72a65b33
...
...
@@ -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
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment