Pārlūkot izejas kodu

Moved to resources/require.php

Found a better home for this code.
FusionPBX 2 gadi atpakaļ
vecāks
revīzija
36b36ac318
1 mainītis faili ar 0 papildinājumiem un 16 dzēšanām
  1. 0 16
      resources/functions.php

+ 0 - 16
resources/functions.php

@@ -2161,20 +2161,4 @@ function number_pad($number,$n) {
 		}
 	}
 
-//set the include path
-        $conf = glob("{/usr/local/etc,/etc}/fusionpbx/config.conf", GLOB_BRACE);
-        set_include_path(parse_ini_file($conf[0])['document.root']);
-
-//includes files
-        require_once "resources/require.php";
-
-//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);
-		}
-	}
-
 ?>