Spaces:
Paused

matomo / plugins /API /Renderer /Tsv.php
Leon4gr45's picture
Deploy Matomo fully configured for Hugging Face Spaces (part 6)
7e7ce11 verified
Raw History Blame
438 Bytes
<?php
/**
* Matomo - free/libre analytics platform
*
* @link https://matomo.org
* @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
namespace Piwik\Plugins\API\Renderer;
use Piwik\Common;
class Tsv extends Csv
{
public function renderSuccess($message)
{
Common::sendHeader("Content-Disposition: attachment; filename=piwik-report-export.csv");
return "message\t" . $message;
}
}