forked from GNUsocial/gnu-social
[CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies
This adds a composer.json for all dependencies that are available
This commit is contained in:
@@ -222,7 +222,7 @@ class Plugin
|
||||
|
||||
if (empty($path)) {
|
||||
// XXX: extra stat().
|
||||
if (@file_exists(INSTALLDIR.'/local/plugins/'.$plugin.'/'.$relative)) {
|
||||
if (@file_exists(PUBLICDIR.'/local/plugins/'.$plugin.'/'.$relative)) {
|
||||
$path = common_config('site', 'path') . '/local/plugins/';
|
||||
} else {
|
||||
$path = common_config('site', 'path') . '/plugins/';
|
||||
|
Reference in New Issue
Block a user