mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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.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";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user