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
|
elseif (file_exists("/etc/fusionpbx/config.conf")) then
|
||||||
return "/etc/fusionpbx/config.conf";
|
return "/etc/fusionpbx/config.conf";
|
||||||
else
|
else
|
||||||
return "resources.config";
|
require "resources.config";
|
||||||
|
return config_file;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue