From eacff4c7978c5d9939f0948922a860b1ebd62c2c Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 14 Oct 2022 12:38:01 -0600 Subject: [PATCH] Code is causing a larger issue removed for more testing. --- resources/require.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/require.php b/resources/require.php index eff65e4f9b..14573a5972 100644 --- a/resources/require.php +++ b/resources/require.php @@ -84,15 +84,6 @@ } } -//include additional functions - $functions = glob("{".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/resources/functions/*.php,".$_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/*/*/resources/functions/*.php}", GLOB_BRACE); - foreach($functions as $function) { - $path = pathinfo($function); - if ($path['filename'] != 'transcribe') { - require($function); - } - } - //change language on the fly - for translate tool (if available) if (isset($_REQUEST['view_lang_code']) && ($_REQUEST['view_lang_code']) != '') { $_SESSION['domain']['language']['code'] = $_REQUEST['view_lang_code'];