wrong path for salmon verify

pull/1/head
Friendika 2011-07-20 23:14:43 -07:00
rodzic 5307225682
commit 1d7d4bf8c6
4 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

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