Fix an error in error_handler making debug a bit harder
[platal.git] / bin / banana.spoolgen.php
CommitLineData
ee68ddc1 1#!/usr/bin/php5
0337d704 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
57e834ac 11require_once 'connect.db.inc.php';
5760f76b 12require_once dirname(__FILE__).'/../include/banana/ml.inc.php';
0337d704 13
6720bd53 14Banana::$mbox_helper = $globals->banana->mbox_helper;
6544d0e1 15Banana::$spool_root = $globals->banana->spool_root;
5760f76b 16Banana::$nntp_host = "news://{$globals->banana->web_user}:{$globals->banana->web_pass}@{$globals->banana->server}:{$globals->banana->port}/";
17Banana::createAllSpool(array('NNTP', 'MLArchive'));
0337d704 18system("chown -R www-data:www-data /var/spool/banana");
a7de4ef7 19// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
0337d704 20?>