During the install copy all FreeSWITCH conf files.

This commit is contained in:
Mark Crane
2014-04-07 22:35:05 +00:00
parent c292635b67
commit 30154f5e5d
2 changed files with 6 additions and 32 deletions
-24
View File
@@ -58,30 +58,6 @@ include "root.php";
copy($src.'/'.$file, $dst.'/'.$file);
//echo "copy(".$src."/".$file.", ".$dst."/".$file.");<br />\n";
}
//check the file type by ext
//if (substr($file, -3) == "lua") {
//set the exception default
//$exception = false;
//set the exceptions
//if ($file == "database_handle.lua") { $exception = true; }
//check for exceptions
//if ($exception) {
// //file does not exist, save a copy in the destination directory
// if (!file_exists($dst.'/'.$file)) {
// copy($src.'/'.$file, $dst.'/'.$file);
// }
//}
//else {
//write over the file
// copy($src.'/'.$file, $dst.'/'.$file);
//}
//}
//else {
//file does not exist, save a copy in the destination directory
//if (!file_exists($dst.'/'.$file)) {
// copy($src.'/'.$file, $dst.'/'.$file);
//}
//}
}
}
}