aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_profiles.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-05-13 23:44:11 -0600
committermcrane <mctch@yahoo.com>2009-05-13 23:44:11 -0600
commit7ec1a376d96bcb495064f8a73d1c0bd067368db6 (patch)
tree4d68affb2b1a2fa85c6b6fcad5b10ae203079256 /config/freeswitch/freeswitch_profiles.tmp
parent2a533e2929245239070c88050537b8b54940670d (diff)
downloadpfsense-packages-7ec1a376d96bcb495064f8a73d1c0bd067368db6.tar.gz
pfsense-packages-7ec1a376d96bcb495064f8a73d1c0bd067368db6.tar.bz2
pfsense-packages-7ec1a376d96bcb495064f8a73d1c0bd067368db6.zip
FreeSWITCH remove listfiles function from freeswitch_profiles has been moved to freeswitch.inc
Diffstat (limited to 'config/freeswitch/freeswitch_profiles.tmp')
-rw-r--r--config/freeswitch/freeswitch_profiles.tmp24
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();