Browse Source

wrong path for salmon verify

pull/1/head
Friendika 10 years ago
parent
commit
1d7d4bf8c6
4 changed files with 3 additions and 4 deletions
  1. +1
    -1
      boot.php
  2. +1
    -1
      include/salmon.php
  3. +0
    -1
      mod/receive.php
  4. +1
    -1
      mod/salmon.php

+ 1
- 1
boot.php View File

@ -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
*/


+ 1
- 1
include/salmon.php View File

@ -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');


+ 0
- 1
mod/receive.php View File

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


+ 1
- 1
mod/salmon.php View File

@ -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