Change to the new context require renaming two variables to be consistent and to prevent a problem.
This commit is contained in:
@@ -225,8 +225,8 @@ class scripts {
|
|||||||
$tmp .= " expire.directory = \"3600\";\n";
|
$tmp .= " expire.directory = \"3600\";\n";
|
||||||
$tmp .= " expire.dialplan = \"3600\";\n";
|
$tmp .= " expire.dialplan = \"3600\";\n";
|
||||||
$tmp .= " expire.languages = \"3600\";\n";
|
$tmp .= " expire.languages = \"3600\";\n";
|
||||||
$tmp .= " expire.sofia.conf = \"3600\";\n";
|
$tmp .= " expire.sofia_conf = \"3600\";\n";
|
||||||
$tmp .= " expire.acl.conf = \"3600\";\n";
|
$tmp .= " expire.acl_conf = \"3600\";\n";
|
||||||
$tmp .= "\n";
|
$tmp .= "\n";
|
||||||
$tmp .= "--set xml_handler\n";
|
$tmp .= "--set xml_handler\n";
|
||||||
$tmp .= " xml_handler = {}\n";
|
$tmp .= " xml_handler = {}\n";
|
||||||
|
|||||||
+1
-1
@@ -258,7 +258,7 @@
|
|||||||
dbh:release();
|
dbh:release();
|
||||||
|
|
||||||
--set the cache
|
--set the cache
|
||||||
result = trim(api:execute("memcache", "set configuration:sofia.conf:" .. hostname .." '"..XML_STRING:gsub("'", "'").."' "..expire["sofia.conf"]));
|
result = trim(api:execute("memcache", "set configuration:sofia.conf:" .. hostname .." '"..XML_STRING:gsub("'", "'").."' "..expire["sofia_conf"]));
|
||||||
|
|
||||||
--send the xml to the console
|
--send the xml to the console
|
||||||
if (debug["xml_string"]) then
|
if (debug["xml_string"]) then
|
||||||
|
|||||||
Reference in New Issue
Block a user