Review and fix all nedge code accessing CH

This commit is contained in:
Alfredo Cardigliano 2023-10-12 11:37:46 +02:00
parent 0ce55bdd67
commit 5e4587c094
5 changed files with 6 additions and 10 deletions

View file

@ -21,7 +21,7 @@ local auth = require "auth"
local email_peer_pattern = [[^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*)$]]
if (ntop.isPro()) then
if ntop.isPro() or ntop.isnEdgeEnterprise() then
package.path = dirs.installdir .. "/scripts/lua/pro/?.lua;" .. package.path
package.path = dirs.installdir .. "/scripts/lua/pro/modules/?.lua;" .. package.path
if hasClickHouseSupport() then