mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 19:01:28 +00:00
mobile: fix headline ordering
mobile: fix htmlpurifier cache being included from wrong directory mobile: implement ability to mark article as unread (closes #367)
This commit is contained in:
@@ -120,7 +120,11 @@
|
||||
@$config->set('HTML', 'Allowed', $allowed);
|
||||
$config->set('Output.FlashCompat', true);
|
||||
$config->set('Attr.EnableID', true);
|
||||
@$config->set('Cache', 'SerializerPath', CACHE_DIR . "/htmlpurifier");
|
||||
if (!defined('MOBILE_VERSION')) {
|
||||
@$config->set('Cache', 'SerializerPath', CACHE_DIR . "/htmlpurifier");
|
||||
} else {
|
||||
@$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
|
||||
}
|
||||
|
||||
$purifier = new HTMLPurifier($config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user