MarkAHershberger has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/352353 )
Change subject: Fix hard-coding of paths ...................................................................... Fix hard-coding of paths From christi3k's patch for Mozilla's WikiMo https://github.com/MozillaWiki/mediawiki-widgets/commit/140b2cf133316de7f2c4c00e1353668c6fc6907b Change-Id: Ic61616830a8517dbf6b69be402d16425440f31cd --- M WidgetRenderer.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Widgets refs/changes/53/352353/1 diff --git a/WidgetRenderer.php b/WidgetRenderer.php index 27db8ad..97bed1b 100644 --- a/WidgetRenderer.php +++ b/WidgetRenderer.php @@ -27,7 +27,7 @@ $smarty->compile_dir = $wgWidgetsCompileDir; // registering custom Smarty plugins - $smarty->addPluginsDir( "$IP/extensions/Widgets/smarty_plugins/" ); + $smarty->addPluginsDir( __DIR__ . "smarty_plugins/" ); $smarty->enableSecurity(); // These settings were for Smarty v2 - they don't seem to -- To view, visit https://gerrit.wikimedia.org/r/352353 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic61616830a8517dbf6b69be402d16425440f31cd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Widgets Gerrit-Branch: master Gerrit-Owner: MarkAHershberger <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
