Handles canceled payment transactions.
[platal.git] / bin / cron / banana.feedgen.php
deleted file mode 120000 (symlink)
index 355e1d0eb8a39d93a3bd5fb57abe44e007b62694..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../banana.feedgen.php
\ No newline at end of file
new file mode 100755 (executable)
index 0000000000000000000000000000000000000000..1ff51474b318f95546b27bf09e6703dabd4e2647
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/php5
+<?php
+/********************************************************************************
+ * spoolgen.php : spool generation
+ * --------------
+ *
+ * This file is part of the banana distribution
+ * Copyright: See COPYING files that comes with this distribution
+ ********************************************************************************/
+
+require_once 'connect.db.inc.php';
+require_once dirname(__FILE__) . '/../../include/banana/forum.inc.php';
+ini_set('memory_limit', '128M');
+
+Banana::$mbox_helper = $globals->spoolroot . '/banana/mbox-helper/mbox-helper';
+Banana::$spool_root = $globals->spoolroot . '/spool/banana/';
+Banana::$nntp_host = ForumsBanana::buildURL();
+Banana::refreshAllFeeds(array('NNTP'));
+
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
+?>