XML files being removed from server
So when I upload an xml file to the server, it looks like Contao removes them automatically from the server when I run the maintenance and purge xml files.
How do I use xml files outside of Contao and keep them on the server so that Contao doesn't remove them?
Re: XML files being removed from server
PS, I've noticed this in 2.11x and maybe it's not an issue in 3?
Re: XML files being removed from server
Contao manages xml files in the root. Only xml files generated by contao are allowed here.
Put your xml files into tl_files/ or try it with a variable in system/config/dcaconfig.php (or maybe in the initconfig.php)
$GLOBALS['TL_CONFIG']['rootFiles'][] = 'myxmlfile.xml';
Re: XML files being removed from server
Thanks Andreas. These are Google and Bing validation codes that look to need to be on the root. I'll give the config stuff a try.