diff options
Diffstat (limited to 'config/freeswitch/freeswitch_profiles.tmp')
-rw-r--r-- | config/freeswitch/freeswitch_profiles.tmp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/config/freeswitch/freeswitch_profiles.tmp b/config/freeswitch/freeswitch_profiles.tmp index 31ee99a1..983b448c 100644 --- a/config/freeswitch/freeswitch_profiles.tmp +++ b/config/freeswitch/freeswitch_profiles.tmp @@ -35,30 +35,6 @@ require("/usr/local/pkg/freeswitch.inc"); //$a_extensions = &$config['installedpackages']['freeswitchextensions']['config']; -function ListFiles($dir) { - - if($dh = opendir($dir)) { - - $files = Array(); - $inner_files = Array(); - - while($file = readdir($dh)) { - if($file != "." && $file != ".." && $file[0] != '.') { - if(is_dir($dir . "/" . $file)) { - //$inner_files = ListFiles($dir . "/" . $file); //recursive - if(is_array($inner_files)) $files = array_merge($files, $inner_files); - } else { - array_push($files, $file); - //array_push($files, $dir . "/" . $file); - } - } - } - - closedir($dh); - return $files; - } -} - if ($_GET['a'] == "default") { conf_mount_rw(); |