X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcron%2Fbanana.feedgen.php;h=09d169df18d556ce74b11263ecd91f29aa495eb6;hb=7a708a96543735332b92c32e4fbd7db4f9840568;hp=59e14e78cf02b6cae72dde6648f45f383d6ec593;hpb=26d203c3a02f8ad892789fa07e5cfbc3c0b19203;p=platal.git diff --git a/bin/cron/banana.feedgen.php b/bin/cron/banana.feedgen.php index 59e14e7..09d169d 100755 --- a/bin/cron/banana.feedgen.php +++ b/bin/cron/banana.feedgen.php @@ -9,11 +9,12 @@ ********************************************************************************/ require_once 'connect.db.inc.php'; -require_once dirname(__FILE__).'/../../include/banana/ml.inc.php'; +require_once dirname(__FILE__) . '/../../include/banana/forum.inc.php'; +ini_set('memory_limit', '128M'); -Banana::$mbox_helper = $globals->banana->mbox_helper; -Banana::$spool_root = $globals->banana->spool_root; -Banana::$nntp_host = "news://{$globals->banana->web_user}:{$globals->banana->web_pass}@{$globals->banana->server}:{$globals->banana->port}/"; +Banana::$mbox_helper = $globals->spoolroot . '/banana/mbox-helper/mbox-helper'; +Banana::$spool_root = $globals->spoolroot . '/spool/banana/'; +Banana::$nntp_host = ForumsBanana::buildURL(); Banana::refreshAllFeeds(array('NNTP')); // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: