mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03: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
|