mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Implements hierarchical AS RRDs directory tree
This commit is contained in:
parent
4da97c492a
commit
af907b61af
6 changed files with 200 additions and 187 deletions
|
|
@ -20,6 +20,8 @@ end
|
|||
|
||||
-- Fix path format Unix <-> Windows
|
||||
function os_utils.fixPath(path)
|
||||
path = string.gsub(path, "//+", '/') -- removes possibly empty parts of the path
|
||||
|
||||
if(ntop.isWindows() and (string.len(path) > 2)) then
|
||||
path = string.gsub(path, "/", os_utils.getPathDivider())
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue