aboutsummaryrefslogtreecommitdiffhomepage
path: root/cron.php
diff options
context:
space:
mode:
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/cron.php b/cron.php
index cc137ca2..8fbf421a 100644
--- a/cron.php
+++ b/cron.php
@@ -1,5 +1,5 @@
1<?php 1<?php
2 2error_reporting(E_ALL);
3include_once 'inc/poche/global.inc.php'; 3include_once 'inc/poche/global.inc.php';
4include_once 'inc/poche/config.inc.php'; 4include_once 'inc/poche/config.inc.php';
5 5
@@ -43,10 +43,10 @@ foreach ($items as $item) {
43 $body = $content['rss']['channel']['item']['description']; 43 $body = $content['rss']['channel']['item']['description'];
44 44
45 // // clean content from prevent xss attack 45 // // clean content from prevent xss attack
46 // $config = HTMLPurifier_Config::createDefault(); 46 $config = HTMLPurifier_Config::createDefault();
47 // $purifier = new HTMLPurifier($config); 47 $purifier = new HTMLPurifier($config);
48 // $title = $purifier->purify($title); 48 $title = $purifier->purify($title);
49 // $body = $purifier->purify($body); 49 $body = $purifier->purify($body);
50 50
51 51
52 $store->updateContentAndTitle($item['id'], $title, $body, $user_id); 52 $store->updateContentAndTitle($item['id'], $title, $body, $user_id);