summaryrefslogtreecommitdiff
path: root/scripts/maildaemon.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maildaemon.php')
-rwxr-xr-xscripts/maildaemon.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/maildaemon.php b/scripts/maildaemon.php
index 9dd647bf4..0b9ab0deb 100755
--- a/scripts/maildaemon.php
+++ b/scripts/maildaemon.php
@@ -27,6 +27,11 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) {
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
define('LACONICA', true);
+// Preset the server at the command line
+
+$server = ($argc > 1) ? $argv[1] : null;
+$path = ($argc > 2) ? $argv[2] : null;
+
require_once(INSTALLDIR . '/lib/common.php');
require_once(INSTALLDIR . '/lib/mail.php');
require_once('Mail/mimeDecode.php');
@@ -36,7 +41,6 @@ require_once('Mail/mimeDecode.php');
class MailerDaemon
{
-
function __construct()
{
}