]> 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 bd08ba58d6a9bcba0e1bcfd3af3941f4aaa461d5..7f418894e68fa505fdd629cf0811c373b799901f 100755 (executable)
@@ -2,7 +2,7 @@
 <?php
 /*
  * Laconica - a distributed open-source microblogging tool
- * Copyright (C) 2008, Controlez-Vous, Inc.
+ * Copyright (C) 2008, 2009, Control Yourself, Inc.
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU Affero General Public License as published by
@@ -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