Преглед изворни кода

Code is causing a larger issue removed for more testing.

FusionPBX пре 2 година
родитељ
комит
2a6cd85d01
1 измењених фајлова са 0 додато и 9 уклоњено
  1. 0 9
      resources/require.php

+ 0 - 9
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)
 //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'];