]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/jabberqueuehandler.php
Merge branch '0.8.x' into cmdline
[quix0rs-gnu-social.git] / scripts / jabberqueuehandler.php
index 130be6e0475201f84a986ce89cd72940f9ff68b5..b848442fd1d9a39bcc3a8f8f9e03bcd15dfe69f9 100755 (executable)
@@ -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 > 2) ? $argv[2] : null;
+$path   = ($argc > 3) ? $argv[3] : null;
+
 require_once(INSTALLDIR . '/lib/common.php');
 require_once(INSTALLDIR . '/lib/jabber.php');
 require_once(INSTALLDIR . '/lib/xmppqueuehandler.php');