mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-02 10:03:49 +00:00
8 lines
149 B
Lua
8 lines
149 B
Lua
|
|
--check if a file exists
|
|
function file_exists(name)
|
|
local f = io.open(name, "r")
|
|
if not f then return end
|
|
f:close()
|
|
return name
|
|
end |