@@ -10,6 +10,8 @@ function config()
|
||||
return "/usr/local/etc/fusionpbx/config.conf";
|
||||
elseif (file_exists("/etc/fusionpbx/config.conf")) then
|
||||
return "/etc/fusionpbx/config.conf";
|
||||
elseif file_exists(os.getenv("SystemDrive") .. "/ProgramData/fusionpbx/config.conf") then
|
||||
return os.getenv("SystemDrive") .. "/ProgramData/fusionpbx/config.conf"
|
||||
else
|
||||
require "resources.config";
|
||||
return config_file;
|
||||
|
||||
Reference in New Issue
Block a user