X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fbanana.spoolgen.php;h=ac18c35ce95583d556abf3325184572dc21ca890;hb=ad59fc86b242b32e9bd58b5815c906ee32af28a6;hp=7c05f62e44321db9e3460e29f1be412f93ae92f1;hpb=5760f76b15cb4b6eb2a24e0a310281ccc12888d5;p=platal.git diff --git a/bin/banana.spoolgen.php b/bin/banana.spoolgen.php index 7c05f62..ac18c35 100755 --- a/bin/banana.spoolgen.php +++ b/bin/banana.spoolgen.php @@ -9,9 +9,13 @@ ********************************************************************************/ 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::$nntp_host = "news://{$globals->banana->web_user}:{$globals->banana->web_pass}@{$globals->banana->server}:{$globals->banana->port}/"; +Banana::$mbox_helper = $globals->banana->mbox_helper; +Banana::$spool_root = $globals->banana->spool_root; +Banana::$nntp_host = ForumsBanana::buildURL(); Banana::createAllSpool(array('NNTP', 'MLArchive')); system("chown -R www-data:www-data /var/spool/banana"); +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>