Enable customizing the config_file path for LUA

This commit is contained in:
FusionPBX 2023-08-14 19:35:41 -06:00 committed by GitHub
parent 90cbc08551
commit f5bdf6662e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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