[eluser]Unknown[/eluser]
I just learned about CodeIgniter on the weekend and it's love at first sight, I've already ported about half of one my standalone apps into it very easily. But that's a whole different story.
The issue I'm running into is integrating AMCharts into this. I've created a controller which dynamically generates an XML document for the charts at
/charts/data/CHARTID.xml
I include this into the pages displaying the appropriate charts like so
Code:
so.addVariable("data_file", escape("/charts/data/<?php echo $chart["chartid"]; ?>.xml"));
But the problem is AMCharts adds a query to the end of this and says:
Error Loading File:
/charts/data/500.xml?1211859872093
When I go to that URL I get a "404 Page Not Found" error with code igniter. I've tried numerous routes and I've tried enabling query strings to no avail. Is there any way to route this properly without having to touch AMCharts?
Appreciate any guidance, thanks.