aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-20 23:14:43 -0700
committerFriendika <info@friendika.com>2011-07-20 23:14:43 -0700
commit1d7d4bf8c6dcd8d3d70129d5a09228a62851cc74 (patch)
tree2f061ee489e1e8224c3ef61bb07088f2ec2b1fea
parent530722568281188f262c5da5fcc8020528f1a3ac (diff)
downloadvolse-hubzilla-1d7d4bf8c6dcd8d3d70129d5a09228a62851cc74.tar.gz
volse-hubzilla-1d7d4bf8c6dcd8d3d70129d5a09228a62851cc74.tar.bz2
volse-hubzilla-1d7d4bf8c6dcd8d3d70129d5a09228a62851cc74.zip
wrong path for salmon verify
-rw-r--r--boot.php2
-rw-r--r--include/salmon.php2
-rw-r--r--mod/receive.php1
-rw-r--r--mod/salmon.php2
4 files changed, 3 insertions, 4 deletions
diff --git a/boot.php b/boot.php
index 61585419a..a5ce5f5c3 100644
--- a/boot.php
+++ b/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
*/
diff --git a/include/salmon.php b/include/salmon.php
index c1af1a852..473432f25 100644
--- a/include/salmon.php
+++ b/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');
diff --git a/mod/receive.php b/mod/receive.php
index 6e36109b3..6fb68e154 100644
--- a/mod/receive.php
+++ b/mod/receive.php
@@ -5,7 +5,6 @@
*/
-
require_once('include/salmon.php');
require_once('library/simplepie/simplepie.inc');
diff --git a/mod/salmon.php b/mod/salmon.php
index 721eae437..56ac071b0 100644
--- a/mod/salmon.php
+++ b/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');