Skip to content

Commit

Permalink
fix: bad path for marketplace, load tinymce in issue
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jul 9, 2020
1 parent 59d9ca6 commit 9b75f05
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,11 @@ function plugin_init_formcreator() {
}

$pages = [
"plugins/formcreator/front/targetticket.form.php",
"plugins/formcreator/front/formdisplay.php",
"plugins/formcreator/front/form.form.php"
FORMCREATOR_ROOTDOC . '/front/targetticket.form.php',
FORMCREATOR_ROOTDOC . '/front/formdisplay.php',
FORMCREATOR_ROOTDOC . '/front/form.form.php',
FORMCREATOR_ROOTDOC . '/front/formanswer.form.php',
FORMCREATOR_ROOTDOC . '/front/issue.form.php',
];
foreach ($pages as $page) {
if (strpos($_SERVER['REQUEST_URI'], $page) !== false) {
Expand Down

0 comments on commit 9b75f05

Please sign in to comment.