From c5c4d79588a0b7e042306e6c8b437d243f0252a0 Mon Sep 17 00:00:00 2001 From: Robbert Schreuder Hes Date: Wed, 1 Apr 2015 16:25:52 +0200 Subject: [PATCH] Fix broken file check --- admin/controller/payment/mollie/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/controller/payment/mollie/base.php b/admin/controller/payment/mollie/base.php index 849bb3be..7a01f763 100755 --- a/admin/controller/payment/mollie/base.php +++ b/admin/controller/payment/mollie/base.php @@ -449,8 +449,6 @@ protected function checkModuleStatus () DIR_CATALOG . "view/theme/default/template/payment/mollie_checkout_form.tpl", DIR_CATALOG . "view/theme/default/template/payment/mollie_return.tpl", DIR_CATALOG . "view/theme/default/template/payment/mollie_return_2.tpl", - DIR_CATALOG . "view/theme/default/template/payment/mollie_payment_error.tpl", - DIR_CATALOG . "view/theme/default/template/payment/mollie_payment_error_2.tpl", ); foreach (MollieHelper::$MODULE_NAMES as $module_name) @@ -463,6 +461,8 @@ protected function checkModuleStatus () foreach ($mod_files as $file) { + $file = realpath($file); + if (!file_exists($file)) { $need_files[] = '' . $file . '';