Convert source code to UTF-8
[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
5760f76b 14Banana::$nntp_host = "news://{$globals->banana->web_user}:{$globals->banana->web_pass}@{$globals->banana->server}:{$globals->banana->port}/";
15Banana::createAllSpool(array('NNTP', 'MLArchive'));
0337d704 16system("chown -R www-data:www-data /var/spool/banana");
a7de4ef7 17// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
0337d704 18?>