Skip to content

Commit

Permalink
fix: marketplace compatibility (again)
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jul 10, 2020
1 parent 88da1e7 commit ef5f080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
var serviceCatalogEnabled = false;
var slinkyCategories;
var timers = [];
var formcreatorRootDoc = '<?php echo Plugin::getWebDir('formcreator')?>';
var formcreatorRootDoc = rootDoc + '/<?php echo method_exists(Plugin::class, 'getWebDir') ? Plugin::getWebDir('formcreator', false) : 'plugins/formcreator' ?>';

// === COMMON ===

Expand Down

0 comments on commit ef5f080

Please sign in to comment.