From 0ec89c213152753ce3389f3fe0c9c8126b5428a8 Mon Sep 17 00:00:00 2001 From: Josh McCullough Date: Thu, 10 Oct 2024 17:29:25 -0400 Subject: [PATCH] replace `require` with `require_once` in entryPoint.php --- public/legacy/include/entryPoint.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/legacy/include/entryPoint.php b/public/legacy/include/entryPoint.php index 2e825e3c3d..0f767864ba 100755 --- a/public/legacy/include/entryPoint.php +++ b/public/legacy/include/entryPoint.php @@ -131,10 +131,10 @@ spl_autoload_register(array('SugarAutoLoader', 'autoload')); require_once 'data/SugarBean.php'; require_once 'include/utils/mvc_utils.php'; -require 'include/SugarObjects/LanguageManager.php'; -require 'include/SugarObjects/VardefManager.php'; +require_once 'include/SugarObjects/LanguageManager.php'; +require_once 'include/SugarObjects/VardefManager.php'; -require 'modules/DynamicFields/templates/Fields/TemplateText.php'; +require_once 'modules/DynamicFields/templates/Fields/TemplateText.php'; require_once 'include/utils/file_utils.php'; require_once 'include/SugarEmailAddress/SugarEmailAddress.php'; @@ -150,7 +150,7 @@ require_once 'include/SugarTheme/SugarTheme.php'; require_once 'include/MVC/SugarModule.php'; require_once 'include/SugarCache/SugarCache.php'; -require 'modules/Currencies/Currency.php'; +require_once 'modules/Currencies/Currency.php'; require_once 'include/MVC/SugarApplication.php'; require_once 'include/upload_file.php';