Closed mcodato closed 1 month ago
Thanks for the fix @mcodato , your pr is correct, in case the issue persists let me know.
Thank you @MatteoBiscosi, will the fix be backported to version 6.0?
@mcodato a new stable will be released in a few days and will contain the fix
Environment:
What happened: The custom theme file is not applied.
How did you reproduce it?
/usr/share/ntopng/httpdocs/css/custom-theme.css
Debug Information: The problem seems to be here https://github.com/ntop/ntopng/blob/dev/scripts/lua/modules/page_utils.lua#L377 the custom theme is loaded from
/usr/share/ntopng/httpdocs/css/custom-theme.css
but theif
checks if the file/usr/share/ntopng/css/custom-theme.css
exists. Essentially, the two paths differ in thehttpdocs
folder.