forked from GNUsocial/gnu-social
plugins onAutoload now only overloads if necessary (extlibs etc.)
lib/plugin.php now has a parent onAutoload function that finds most common
files that are used in plugins (actions, dataobjects, forms, libs etc.) if
they are put in the standardised directories ('actions', 'classes', 'forms',
'lib' and perhaps some others in the future).
This commit is contained in:
@@ -44,8 +44,8 @@ data as it comes.
|
||||
ENDOFHELP;
|
||||
|
||||
require_once INSTALLDIR.'/scripts/commandline.inc';
|
||||
require_once dirname(dirname(__FILE__)) . '/jsonstreamreader.php';
|
||||
require_once dirname(dirname(__FILE__)) . '/twitterstreamreader.php';
|
||||
require_once dirname(dirname(__FILE__)) . '/lib/jsonstreamreader.php';
|
||||
require_once dirname(dirname(__FILE__)) . '/lib/twitterstreamreader.php';
|
||||
|
||||
if (have_option('n')) {
|
||||
$nickname = get_option_value('n');
|
||||
|
||||
Reference in New Issue
Block a user