fix : #10562
This commit is contained in:
parent
fcfabd40af
commit
0c3500fc5d
@ -746,7 +746,7 @@ class DolibarrModules // Can not be abstract, because we need to instantiate it
|
|||||||
$filefound= false;
|
$filefound= false;
|
||||||
|
|
||||||
// Define path to file README.md.
|
// Define path to file README.md.
|
||||||
// First check README-la_LA.md then README.md
|
// First check ChangeLog-la_LA.md then ChangeLog.md
|
||||||
$pathoffile = dol_buildpath(strtolower($this->name).'/ChangeLog-'.$langs->defaultlang.'.md', 0);
|
$pathoffile = dol_buildpath(strtolower($this->name).'/ChangeLog-'.$langs->defaultlang.'.md', 0);
|
||||||
if (dol_is_file($pathoffile)) {
|
if (dol_is_file($pathoffile)) {
|
||||||
$filefound = true;
|
$filefound = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user