]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/synctwitterfriends.php
Merge branch '0.8.x' into cmdline
[quix0rs-gnu-social.git] / scripts / synctwitterfriends.php
index 8a338f1b4a78a082acc8566c1b796236041a8831..7f418894e68fa505fdd629cf0811c373b799901f 100755 (executable)
@@ -30,6 +30,11 @@ define('LACONICA', true);
 // Uncomment this to get useful console output
 //define('SCRIPT_DEBUG', 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');
 
 // Make a lockfile