Change to the new context require renaming two variables to be consistent and to prevent a problem.

This commit is contained in:
markjcrane 2016-03-24 23:08:23 -06:00
parent 740a49e0c2
commit 4a31b2343e
2 changed files with 3 additions and 3 deletions

View File

@ -225,8 +225,8 @@ class scripts {
$tmp .= " expire.directory = \"3600\";\n";
$tmp .= " expire.dialplan = \"3600\";\n";
$tmp .= " expire.languages = \"3600\";\n";
$tmp .= " expire.sofia.conf = \"3600\";\n";
$tmp .= " expire.acl.conf = \"3600\";\n";
$tmp .= " expire.sofia_conf = \"3600\";\n";
$tmp .= " expire.acl_conf = \"3600\";\n";
$tmp .= "\n";
$tmp .= "--set xml_handler\n";
$tmp .= " xml_handler = {}\n";

View File

@ -258,7 +258,7 @@
dbh:release();
--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
if (debug["xml_string"]) then