Browse Source

wrong path for salmon verify

pull/1/head
Friendika 11 years ago
parent
commit
1d7d4bf8c6
  1. 2
      boot.php
  2. 2
      include/salmon.php
  3. 1
      mod/receive.php
  4. 2
      mod/salmon.php

2
boot.php

@ -135,7 +135,7 @@ define ( 'NAMESPACE_POCO', 'http://portablecontacts.net/spec/1.0' );
define ( 'NAMESPACE_FEED', 'http://schemas.google.com/g/2010#updates-from' );
define ( 'NAMESPACE_OSTATUS', 'http://ostatus.org/schema/1.0' );
define ( 'NAMESPACE_STATUSNET', 'http://status.net/schema/api/1/' );
define ( 'NAMESPACE_ATOM1', 'http://www.w3.org/2005/Atom' );
/**
* activity stream defines
*/

2
include/salmon.php

@ -145,7 +145,7 @@ EOT;
// Setup RSA stuff to PKCS#1 sign the data
set_include_path(get_include_path() . PATH_SEPARATOR . 'library' . PATH_SEPARATOR . 'phpsec');
set_include_path(get_include_path() . PATH_SEPARATOR . 'library/phpsec');
require_once('library/phpsec/Crypt/RSA.php');

1
mod/receive.php

@ -5,7 +5,6 @@
*/
require_once('include/salmon.php');
require_once('library/simplepie/simplepie.inc');

2
mod/salmon.php

@ -130,7 +130,7 @@ function salmon_post(&$a) {
// Setup RSA stuff to verify the signature
set_include_path(get_include_path() . PATH_SEPARATOR . 'library' . PATH_SEPARATOR . 'phpsec');
set_include_path(get_include_path() . PATH_SEPARATOR . 'library/phpsec');
require_once('library/phpsec/Crypt/RSA.php');

Loading…
Cancel
Save