summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-08-26 02:13:22 +0100
committerAndrew Dolgov <[email protected]>2005-08-26 02:13:22 +0100
commita3ee2a382f68f2176dcc9ad87a646ae3284c0273 (patch)
tree258077fa325203ae4769993d89ac771f78fb3271 /functions.php
parent2d84262b145b09acf4fa8daa1cf78d408ee2b1d2 (diff)
code cleanups, show selected feed in feedlist, tell magpie to use UTF-8
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 305c8425e..f3ff6a1f9 100644
--- a/functions.php
+++ b/functions.php
@@ -1,6 +1,8 @@
<?
require_once 'config.php';
+ define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
+
function purge_old_posts() {
if (PURGE_OLD_DAYS) {
$result = pg_query("DELETE FROM ttrss_entries WHERE