Yesterday Brad Lowe wrote: > I made a simple change to the rrdcgi that may make sense for future versions > or for other users... > > I added a "pass 0" to do the file insertion handling first. This way, any > macro substitutions within the inserted file will be handled properly. I'm > not sure why the file insertion was done in pass 2.. But this modification > lets me have a common library of graph generators that can be added to my > rrd cgis. > > If anyone wants the actual source code changes, let me know. (its basically > a two line change..)
the reason it is done so late is because one might want to be able to select which file to include from the input in a form ... cheers tobi -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, CH-8092 Zurich, Switzerland / // _ \/ _ \/ / System Manager Coach Time Lord Developer Designer /_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286 -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
