Code is causing a larger issue removed for more testing.

This commit is contained in:
FusionPBX 2022-10-14 12:38:01 -06:00 committed by GitHub
parent a373958ffd
commit eacff4c797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -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) //change language on the fly - for translate tool (if available)
if (isset($_REQUEST['view_lang_code']) && ($_REQUEST['view_lang_code']) != '') { if (isset($_REQUEST['view_lang_code']) && ($_REQUEST['view_lang_code']) != '') {
$_SESSION['domain']['language']['code'] = $_REQUEST['view_lang_code']; $_SESSION['domain']['language']['code'] = $_REQUEST['view_lang_code'];