0) {
$i=0;
if (count($a_public_includes_details) > 0) {
foreach($a_public_includes_details as $row) {
if ($row["publicincludeid"] == $publicincludeid) {
//echo "child id: ".$i."
\n";
unset($a_public_includes_details[$i]);
}
$i++;
}
}
}
//if the public include xml file exists then delete it
if (file_exists("/usr/local/freeswitch/conf/dialplan/public/".$publicincludefilename)) {
unlink("/usr/local/freeswitch/conf/dialplan/public/".$publicincludefilename);
}
unset($publicincludefilename);
unset($a_public_includes[$_GET['id']]);
write_config();
sync_package_v_public_includes();
header("Location: v_public_includes.php");
exit;
}
}
}
include("head.inc");
?>
$v_project_label: Public\n";
?>
/usr/local/freeswitch/conf/dialplan/public/
|