We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb8d72c + 43e7cef commit 24727e2Copy full SHA for 24727e2
tmpl/default.php
@@ -3,12 +3,12 @@
3
4
<?php
5
6
-$defaultCustomFile = 'default_custom.php';
+$defaultCustomFile = __DIR__ . DIRECTORY_SEPARATOR . 'default_custom.php';
7
8
if (!$form->getFormRendering() && file_exists($defaultCustomFile)) {
9
$view = require_once "$defaultCustomFile";
10
} elseif (!$form->getFormRendering() && !file_exists($defaultCustomFile)) {
11
- $view = "Custom default view file /tmpl/$defaultCustomFile not found.";
+ $view = "Custom default view file $defaultCustomFile not found.";
12
}
13
14
echo $view;
0 commit comments