Fix compilation errors.
[platal.git] / bin / cron / banana.feedgen.php
CommitLineData
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
11require_once 'connect.db.inc.php';
0b8d2769 12require_once dirname(__FILE__).'/../../include/banana/ml.inc.php';
f9182d1d 13ini_set('memory_limit', '128M');
eaf30d86
PH
14
15Banana::$mbox_helper = $globals->banana->mbox_helper;
16Banana::$spool_root = $globals->banana->spool_root;
17Banana::$nntp_host = "news://{$globals->banana->web_user}:{$globals->banana->web_pass}@{$globals->banana->server}:{$globals->banana->port}/";
26d203c3 18Banana::refreshAllFeeds(array('NNTP'));
eaf30d86
PH
19
20// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
21?>