mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-07 12:13:49 +00:00
Change '//' to '/'. This fixes a problem where its calling require when it should call dofile.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
-- load config
|
||||
function load_config()
|
||||
local cfg = config()
|
||||
if cfg:sub(1,1) == '//' then
|
||||
if cfg:sub(1,1) == '/' then
|
||||
dofile(cfg)
|
||||
else
|
||||
require(cfg)
|
||||
|
||||
Reference in New Issue
Block a user