mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 18:53:49 +00:00
6 lines
147 B
Lua
6 lines
147 B
Lua
function is_absolute_path(file_name)
|
|
return string.sub(file_name, 1, 1) == '/' or string.sub(file_name, 2, 1) == ':'
|
|
end
|
|
|
|
return is_absolute_path
|