made example save-as filename more generic

This commit is contained in:
Joshua Seigler 2016-06-28 00:23:06 -04:00
parent 4d2ddab9c2
commit c6a1a48910

View file

@ -15,7 +15,7 @@ In your PHP file:
```php ```php
Header('Content-type: image/svg+xml; charset=utf-8'); Header('Content-type: image/svg+xml; charset=utf-8');
Header('Content-Disposition: inline; filename="Dash-24h-chart-' . date('Y-m-d\THisT') . '.svg"'); Header('Content-Disposition: inline; filename="chart-' . date('Y-m-d\THisT') . '.svg"');
include 'buffer.php'; include 'buffer.php';
include 'SVGChartBuilder.php'; include 'SVGChartBuilder.php';