From dc2b5afd9980984e2b259c9fc99f2ade46f70a5a Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 17 Jan 2025 17:12:21 +0100 Subject: [PATCH] functions_custom.php are not optional --- system/functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/system/functions.php b/system/functions.php index 11926f51..89f45676 100644 --- a/system/functions.php +++ b/system/functions.php @@ -1679,4 +1679,7 @@ function getAccountIdentityColumn(): string require_once SYSTEM . 'compat/base.php'; // custom functions -require SYSTEM . 'functions_custom.php'; +$customFunctions = SYSTEM . 'functions_custom.php'; +if (is_file($customFunctions)) { + require $customFunctions; +}