From 8878449b0be665f0c0df1b4ad48d20e2bb53efe9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 5 Jan 2026 11:37:58 +0100 Subject: [PATCH] global-functions: support modules (or snippets) in global-functions.d/ --- global-functions.rsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global-functions.rsc b/global-functions.rsc index ff663c7..05c232a 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -1900,7 +1900,7 @@ } # load modules -:foreach Script in=[ /system/script/find where name ~ "^mod/." ] do={ +:foreach Script in=[ /system/script/find where name ~ "^(global-functions\\.d|mod)/." ] do={ :local ScriptVal [ /system/script/get $Script ]; :if ([ $ValidateSyntax ($ScriptVal->"source") ] = true) do={ :onerror Err {