parent
dac6e6a6e6
commit
96f6e87224
|
|
@ -10,6 +10,8 @@ function config()
|
||||||
return "/usr/local/etc/fusionpbx/config.conf";
|
return "/usr/local/etc/fusionpbx/config.conf";
|
||||||
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";
|
||||||
|
elseif file_exists(os.getenv("SystemDrive") .. "/ProgramData/fusionpbx/config.conf") then
|
||||||
|
return os.getenv("SystemDrive") .. "/ProgramData/fusionpbx/config.conf"
|
||||||
else
|
else
|
||||||
require "resources.config";
|
require "resources.config";
|
||||||
return config_file;
|
return config_file;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue