Skip to content

Commit 24727e2

Browse files
committed
2017-12-21 AC: Merges branch hotfix-2.1.0-7.
2 parents fb8d72c + 43e7cef commit 24727e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tmpl/default.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
<?php
55

6-
$defaultCustomFile = 'default_custom.php';
6+
$defaultCustomFile = __DIR__ . DIRECTORY_SEPARATOR . 'default_custom.php';
77

88
if (!$form->getFormRendering() && file_exists($defaultCustomFile)) {
99
$view = require_once "$defaultCustomFile";
1010
} elseif (!$form->getFormRendering() && !file_exists($defaultCustomFile)) {
11-
$view = "Custom default view file /tmpl/$defaultCustomFile not found.";
11+
$view = "Custom default view file $defaultCustomFile not found.";
1212
}
1313

1414
echo $view;

0 commit comments

Comments
 (0)