mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Initial work towards REST-ful code rework
This commit is contained in:
parent
299ad0b5e2
commit
36b34389ac
7 changed files with 28 additions and 15 deletions
|
|
@ -865,6 +865,10 @@ function formatEpoch(epoch)
|
|||
end
|
||||
|
||||
function starts(String,Start)
|
||||
if((String == nil) or (Start == nil)) then
|
||||
return(false)
|
||||
end
|
||||
|
||||
return string.sub(String,1,string.len(Start))==Start
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue