diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,5 +1,5 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | error_reporting(E_ALL); | |
3 | include_once 'inc/poche/global.inc.php'; | 3 | include_once 'inc/poche/global.inc.php'; |
4 | include_once 'inc/poche/config.inc.php'; | 4 | include_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); |