]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/xmppconfirmhandler.php
Merge branch '0.8.x' into cmdline
[quix0rs-gnu-social.git] / scripts / xmppconfirmhandler.php
index 1fa361a36b8a300c178e0f741675f1db4311bc8e..217481d658827af8758558dd962401fa38f75df1 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');
@@ -39,12 +44,12 @@ class XmppConfirmHandler extends XmppQueueHandler
 {
 
     var $_id = 'confirm';
-    
+
     function class_name()
     {
         return 'XmppConfirmHandler';
     }
-    
+
     function run()
     {
         if (!$this->start()) {