forked from GNUsocial/gnu-social
htmloutputter->script() special cases src's that begin with plugin/ or local/ so that plugins don't need to include common_path() in every call to $action->script()
Adjust plugins to not call common_path() when it's not necessary Fix minify plugin
This commit is contained in:
@@ -181,7 +181,7 @@ class FacebookPlugin extends Plugin
|
||||
if ($this->reqFbScripts($action)) {
|
||||
|
||||
$apikey = common_config('facebook', 'apikey');
|
||||
$plugin_path = common_path('plugins/Facebook');
|
||||
$plugin_path = 'plugins/Facebook';
|
||||
|
||||
$login_url = common_local_url('FBConnectAuth');
|
||||
$logout_url = common_local_url('logout');
|
||||
|
Reference in New Issue
Block a user