forked from GNUsocial/gnu-social
[LIB_REFACTOR] Fix requires
This commit is contained in:
committed by
Diogo Cordeiro
parent
58bde08425
commit
b41f9620fa
@@ -32,7 +32,7 @@ if (!defined('GNUSOCIAL')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require_once(INSTALLDIR . '/lib/activitystreamjsondocument.php');
|
||||
require_once INSTALLDIR . '/lib/activitystreams/activitystreamjsondocument.php';
|
||||
|
||||
/**
|
||||
* A noun-ish thing in the activity universe
|
||||
|
||||
@@ -359,7 +359,7 @@ class UserActivityStream extends AtomUserNoticeFeed
|
||||
|
||||
function writeJSON($handle)
|
||||
{
|
||||
require_once INSTALLDIR . '/lib/activitystreamjsondocument.php';
|
||||
require_once INSTALLDIR . '/lib/activitystreams/activitystreamjsondocument.php';
|
||||
fwrite($handle, '{"items": [');
|
||||
$this->renderEntries(Feed::JSON, $handle);
|
||||
fwrite($handle, ']}');
|
||||
|
||||
Reference in New Issue
Block a user