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

evo: available diffusion_type.xml in custom

parent 197f64a5
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<CONFIG> <CONFIG>
<Lang>fr</Lang> <!-- fr, en--> <Lang>fr</Lang> <!-- fr, en-->
<MaarchDirectory>C:\xampp\htdocs\maarch_entreprise\</MaarchDirectory> <MaarchDirectory>C:\xampp\htdocs\maarch_entreprise\</MaarchDirectory>
<customID></customID>
<MaarchUrl>http://localhost/maarch_entreprise/</MaarchUrl> <MaarchUrl>http://localhost/maarch_entreprise/</MaarchUrl>
<MaarchApps>maarch_entreprise</MaarchApps> <MaarchApps>maarch_entreprise</MaarchApps>
<TmpDirectory>C:\xampp\htdocs\maarch_entreprise\modules\notifications\batch\tmp\</TmpDirectory> <TmpDirectory>C:\xampp\htdocs\maarch_entreprise\modules\notifications\batch\tmp\</TmpDirectory>
......
...@@ -153,7 +153,12 @@ if ($xmlconfig == FALSE) { ...@@ -153,7 +153,12 @@ if ($xmlconfig == FALSE) {
// Load config // Load config
$config = $xmlconfig->CONFIG; $config = $xmlconfig->CONFIG;
$lang = (string)$config->Lang; $lang = (string)$config->Lang;
$maarchDirectory = (string)$config->MaarchDirectory; $maarchDirectory = (string)$config->MaarchDirectory;
$customID = (string)$config->customID;
if ($customID <> '') {
$_SESSION['config']['corepath'] = $maarchDirectory;
$_SESSION['custom_override_id'] = $customID;
}
chdir($maarchDirectory); chdir($maarchDirectory);
$maarchUrl = (string)$config->MaarchUrl; $maarchUrl = (string)$config->MaarchUrl;
$maarchApps = (string) $config->MaarchApps; $maarchApps = (string) $config->MaarchApps;
......
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