]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - tests/oauth/oauth_post_notice.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / tests / oauth / oauth_post_notice.php
index 5e9d2a7ab0b74e862a4991a1cfe807c0c534e7cc..6742ab1580b1dddd3c35772d70d878d6e2356bd8 100644 (file)
@@ -23,7 +23,7 @@ define('INSTALLDIR', realpath(dirname(__FILE__) . '/../..'));
 require_once INSTALLDIR . '/extlib/OAuth.php';
 
 $shortoptions = 't:s:u:';
-$longoptions = array('oauth_token=', 'token_secret=', 'update=');
+$longoptions = array('oauth_token=', 'oauth_token_secret=', 'update=');
 
 $helptext = <<<END_OF_VERIFY_HELP
     oauth_post_notice.php [options]
@@ -40,7 +40,7 @@ $token        = null;
 $token_secret = null;
 $update       = null;
 
-require_once INSTALLDIR . '/scripts/commandline.inc';
+require_once INSTALLDIR . '/scripts/commandline.inc.php';
 
 if (have_option('t', 'oauth_token')) {
     $token = get_option_value('t', 'oauth_token');