phpBB

Code Changes

File: phpbb/feed/controller/feed.php

  Unmodified   Added   Modified   Removed
Line 386Line 386
		));

$response = new Response($content);

		));

$response = new Response($content);

		$response->headers->set('Content-Type', 'application/atom+xml');
$response->setCharset('UTF-8');

		$response->headers->set('Content-Type', 'application/atom+xml; charset=UTF-8');


		$response->setLastModified(new \DateTime('@' . $feed_updated_time));

if (!empty($this->user->data['is_bot']))

		$response->setLastModified(new \DateTime('@' . $feed_updated_time));

if (!empty($this->user->data['is_bot']))