mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-26 10:15:43 +00:00
Revert "Revert "Change. Use require "resources.functions.config" to load co…"
This commit is contained in:
@@ -26,10 +26,7 @@
|
||||
digit_timeout = "5000";
|
||||
|
||||
--check if a file exists
|
||||
function file_exists(name)
|
||||
local f=io.open(name,"r")
|
||||
if f~=nil then io.close(f) return true else return false end
|
||||
end
|
||||
require "resources.functions.file_exists"
|
||||
|
||||
--run if the session is ready
|
||||
if ( session:ready() ) then
|
||||
|
||||
Reference in New Issue
Block a user