mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Create is_absolute_path.lua
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
function is_absolute_path(file_name)
|
||||
return string.sub(file_name, 1, 1) == '/' or string.sub(file_name, 2, 1) == ':'
|
||||
end
|
||||
Reference in New Issue
Block a user