aboutsummaryrefslogtreecommitdiffstats
path: root/mod/salmon.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-28 21:11:52 -0700
committerFriendika <info@friendika.com>2011-06-28 21:11:52 -0700
commit0b221e8945ae785dc706d8ea9a9e8e25532c0096 (patch)
tree52d4978006b028c24ee1feb3cf6ba2907a48c88f /mod/salmon.php
parent60caa0349416dad1a3a891e3c0e00d33d25d7a91 (diff)
downloadvolse-hubzilla-0b221e8945ae785dc706d8ea9a9e8e25532c0096.tar.gz
volse-hubzilla-0b221e8945ae785dc706d8ea9a9e8e25532c0096.tar.bz2
volse-hubzilla-0b221e8945ae785dc706d8ea9a9e8e25532c0096.zip
bug #96 move libraries to library - better alignment of like rotator
Diffstat (limited to 'mod/salmon.php')
-rw-r--r--mod/salmon.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/mod/salmon.php b/mod/salmon.php
index c2f76aa0a..3ace417cd 100644
--- a/mod/salmon.php
+++ b/mod/salmon.php
@@ -1,14 +1,11 @@
<?php
-// TODO:
-// add relevant contacts so they can use this
-
// There is a lot of debug stuff in here because this is quite a
// complicated process to try and sort out.
require_once('include/salmon.php');
-require_once('simplepie/simplepie.inc');
+require_once('library/simplepie/simplepie.inc');
function salmon_return($val) {
@@ -133,9 +130,9 @@ function salmon_post(&$a) {
// Setup RSA stuff to verify the signature
- set_include_path(get_include_path() . PATH_SEPARATOR . 'phpsec');
+ set_include_path(get_include_path() . PATH_SEPARATOR . 'library' . PATH_SEPARATOR . 'phpsec');
- require_once('phpsec/Crypt/RSA.php');
+ require_once('library/phpsec/Crypt/RSA.php');
$key_info = explode('.',$key);