<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
*/
use Friendica\DI;
+use Friendica\Network\HTTPException\NotModifiedException;
use Friendica\Util\Strings;
require_once 'view/theme/frio/theme.php';
'$background_repeat' => $background_repeat,
'$login_bg_image' => $login_bg_image,
'$login_bg_color' => $login_bg_color,
- '$font_color_darker' => $font_color_darker ?? '#555',
- '$font_color' => $font_color ?? '#777',
+ '$font_color_darker' => $font_color_darker ?? '#222',
+ '$font_color' => $font_color ?? '#444',
];
$css_tpl = file_get_contents('view/theme/frio/css/style.css');
stripslashes($_SERVER['HTTP_IF_NONE_MATCH']));
if (($cached_modified == $modified) && ($cached_etag == $etag)) {
- header('HTTP/1.1 304 Not Modified');
- exit();
+ throw new NotModifiedException();
}
}