From: Nicolas Boisselier Date: Thu, 22 Dec 2016 22:23:11 +0000 (+0000) Subject: fix bug content_type X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=ff4a2aa16eb67105eedd6657a271735ffece9351;p=nb.git fix bug content_type --- diff --git a/www/dbq/dbq.php b/www/dbq/dbq.php index 65d829a1..92a384b7 100644 --- a/www/dbq/dbq.php +++ b/www/dbq/dbq.php @@ -581,7 +581,7 @@ document.addEventListener("DOMContentLoaded", function() { // Then content type if (empty($content_type)) $content_type = Mime::fromExt($format==self::CLI_FORMAT ? 'txt' : $format); - if (empty($content_type)) $content_type = 'text/plain'; + #if (empty($content_type)) $content_type = 'text/plain'; if ($content_type) $this->page->content_type($content_type); }