Enable customizing the config_file path for LUA
This commit is contained in:
parent
90cbc08551
commit
f5bdf6662e
|
|
@ -11,7 +11,8 @@
|
|||
elseif (file_exists("/etc/fusionpbx/config.conf")) then
|
||||
return "/etc/fusionpbx/config.conf";
|
||||
else
|
||||
return "resources.config";
|
||||
require "resources.config";
|
||||
return config_file;
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue