From 7ec1a376d96bcb495064f8a73d1c0bd067368db6 Mon Sep 17 00:00:00 2001 From: mcrane Date: Wed, 13 May 2009 23:44:11 -0600 Subject: FreeSWITCH remove listfiles function from freeswitch_profiles has been moved to freeswitch.inc --- config/freeswitch/freeswitch.inc | 2 +- config/freeswitch/freeswitch.xml | 2 +- config/freeswitch/freeswitch_profiles.tmp | 24 ------------------------ 3 files changed, 2 insertions(+), 26 deletions(-) diff --git a/config/freeswitch/freeswitch.inc b/config/freeswitch/freeswitch.inc index 4ed56349..c030f034 100644 --- a/config/freeswitch/freeswitch.inc +++ b/config/freeswitch/freeswitch.inc @@ -1828,7 +1828,7 @@ function sync_package_freeswitch() function freeswitch_php_install_command() { global $config; - $freeswitch_package_version = "0.8.7.3"; + $freeswitch_package_version = "0.8.7.4"; $freeswitch_build_version = "1.0.4 pre 6"; $freeswitch_build_revision = "13238"; diff --git a/config/freeswitch/freeswitch.xml b/config/freeswitch/freeswitch.xml index 02e236c1..f3861ed5 100644 --- a/config/freeswitch/freeswitch.xml +++ b/config/freeswitch/freeswitch.xml @@ -44,7 +44,7 @@ Describe your package requirements here Currently there are no FAQ items provided. FreeSWITCH Settings - 0.8.7.3 + 0.8.7.4 FreeSWITCH: Settings /usr/local/pkg/freeswitch.inc 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(); -- cgit v1.2.3