Skip to content

Commit c5c4d79

Browse files
committed
Fix broken file check
1 parent dfaf399 commit c5c4d79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

admin/controller/payment/mollie/base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,6 @@ protected function checkModuleStatus ()
449449
DIR_CATALOG . "view/theme/default/template/payment/mollie_checkout_form.tpl",
450450
DIR_CATALOG . "view/theme/default/template/payment/mollie_return.tpl",
451451
DIR_CATALOG . "view/theme/default/template/payment/mollie_return_2.tpl",
452-
DIR_CATALOG . "view/theme/default/template/payment/mollie_payment_error.tpl",
453-
DIR_CATALOG . "view/theme/default/template/payment/mollie_payment_error_2.tpl",
454452
);
455453

456454
foreach (MollieHelper::$MODULE_NAMES as $module_name)
@@ -463,6 +461,8 @@ protected function checkModuleStatus ()
463461

464462
foreach ($mod_files as $file)
465463
{
464+
$file = realpath($file);
465+
466466
if (!file_exists($file))
467467
{
468468
$need_files[] = '<span style="color:red">' . $file . '</span>';

0 commit comments

Comments
 (0)