]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - tests/oauth/oauth_verify_creds.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / tests / oauth / oauth_verify_creds.php
index 7eea6e7e7440d6984cf5154e3e85884fff50e187..c20c7eef03e4fc52c46cb2b5bb744e665ec24b67 100755 (executable)
@@ -37,13 +37,13 @@ END_OF_VERIFY_HELP;
 $token        = null;
 $token_secret = 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');
 }
 
-if (have_option('s', 'token_secret')) {
+if (have_option('s', 'oauth_token_secret')) {
     $token_secret = get_option_value('s', 'oauth_token_secret');
 }