Update dialplan_xml.php
This commit is contained in:
parent
3c33b7b151
commit
520d15f8c2
|
|
@ -84,15 +84,14 @@
|
||||||
$array['dialplans'][$x]["dialplan_xml"] = $_REQUEST['dialplan_xml'];;
|
$array['dialplans'][$x]["dialplan_xml"] = $_REQUEST['dialplan_xml'];;
|
||||||
|
|
||||||
//save to the data
|
//save to the data
|
||||||
$orm = new orm;
|
$database = new database;
|
||||||
//$orm->name('ring_groups');
|
$database->app_name = 'dialplans';
|
||||||
$orm->app_name = 'dialplans';
|
$database->app_uuid = $app_uuid;
|
||||||
$orm->app_uuid = $app_uuid;
|
|
||||||
//if (strlen($dialplan_uuid) > 0) {
|
//if (strlen($dialplan_uuid) > 0) {
|
||||||
// $orm->uuid($dialplan_uuid);
|
// $database->uuid($dialplan_uuid);
|
||||||
//}
|
//}
|
||||||
$orm->save($array);
|
$database->save($array);
|
||||||
$message = $orm->message;
|
$message = $database->message;
|
||||||
|
|
||||||
//debug info
|
//debug info
|
||||||
//echo "<pre>\n";
|
//echo "<pre>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue