Skip to content
Snippets Groups Projects
Commit ad93e6cf authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix: custom path for export.xml

parent 5ddf93d6
No related branches found
No related tags found
No related merge requests found
...@@ -152,7 +152,11 @@ class ExportControler ...@@ -152,7 +152,11 @@ class ExportControler
private function loadXMLConf() private function loadXMLConf()
{ {
$exportConf = simplexml_load_file('apps/maarch_entreprise/xml/export.xml'); $path = 'apps/maarch_entreprise/xml/export.xml';
if (file_exists('custom/'.$_SESSION['custom_override_id'].'/apps/maarch_entreprise/xml/export.xml')) {
$path = 'custom/'.$_SESSION['custom_override_id'].'/apps/maarch_entreprise/xml/export.xml';
}
$exportConf = simplexml_load_file($path);
return $exportConf; return $exportConf;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment