Results 1 to 4 of 4

Thread: XML files being removed from server

  1. #1
    User
    Join Date
    06-19-09.
    Posts
    89

    Default 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?

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    89

    Default Re: XML files being removed from server

    PS, I've noticed this in 2.11x and maybe it's not an issue in 3?

  3. #3
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default 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';
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

  4. #4
    User
    Join Date
    06-19-09.
    Posts
    89

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •