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:
@@ -66,9 +66,9 @@ class SphinxSearchPlugin extends Plugin
|
||||
include_once INSTALLDIR . '/plugins/SphinxSearch/' .
|
||||
strtolower($cls) . '.php';
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
|
||||
return parent::onAutoload($cls);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user