Commit | Line | Data |
---|---|---|
eaf30d86 PH |
1 | #!/usr/bin/php5 |
2 | <?php | |
3 | /******************************************************************************** | |
4 | * spoolgen.php : spool generation | |
5 | * -------------- | |
6 | * | |
7 | * This file is part of the banana distribution | |
8 | * Copyright: See COPYING files that comes with this distribution | |
9 | ********************************************************************************/ | |
10 | ||
11 | require_once 'connect.db.inc.php'; | |
0b8d2769 | 12 | require_once dirname(__FILE__).'/../../include/banana/ml.inc.php'; |
eaf30d86 PH |
13 | |
14 | Banana::$mbox_helper = $globals->banana->mbox_helper; | |
15 | Banana::$spool_root = $globals->banana->spool_root; | |
16 | Banana::$nntp_host = "news://{$globals->banana->web_user}:{$globals->banana->web_pass}@{$globals->banana->server}:{$globals->banana->port}/"; | |
26d203c3 | 17 | Banana::refreshAllFeeds(array('NNTP')); |
eaf30d86 PH |
18 | |
19 | // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: | |
20 | ?> |