X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fbanana%2Fhooks.inc.php;h=c08c983d48a317290e9c6e4029b979ba0841e44d;hb=00ba8a742be0cfc70eef7c6aaaccebe7134ec087;hp=cd963045535512e7fb30250111dd01a93b211e4b;hpb=34465ab035104f739a54ec62660f04f874448627;p=platal.git diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index cd96304..c08c983 100644 --- a/include/banana/hooks.inc.php +++ b/include/banana/hooks.inc.php @@ -19,7 +19,8 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ***************************************************************************/ -require_once 'banana/banana.inc.php'; +require_once dirname(__FILE__) . '/../../banana/banana/banana.inc.php'; +require_once dirname(__FILE__) . '/../../banana/banana/message.func.inc.php'; function hook_formatDisplayHeader($_header, $_text, $in_spool = false) { @@ -76,7 +77,7 @@ function hook_platalRSS($group) } else { $group = ''; } - return '/rss/' . $group . S::v('hruid') . '/' . S::s('token') . '/rss.xml'; + return '/rss/' . $group . S::v('hruid') . '/' . S::user()->token . '/rss.xml'; } function hook_platalMessageLink($params)