]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/pingqueuehandler.php
Merge branch '0.8.x' into cmdline
[quix0rs-gnu-social.git] / scripts / pingqueuehandler.php
index f57752cd2d2e7bb0c57b130433bd5dd0bcd8f596..84ef9be277de25b8b9cee60a1f0fec45720eeacf 100644 (file)
@@ -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/ping.php');
 require_once(INSTALLDIR . '/lib/queuehandler.php');