From f7f0d2b265b764e1a7bb032473108ca2cfaeb4a5 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 6 Dec 2015 20:45:21 -0800 Subject: provide plugin hooks for blacklist checking functions. --- doc/hook/check_siteallowed.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/hook/check_siteallowed.bb (limited to 'doc/hook/check_siteallowed.bb') diff --git a/doc/hook/check_siteallowed.bb b/doc/hook/check_siteallowed.bb new file mode 100644 index 000000000..28134cbd2 --- /dev/null +++ b/doc/hook/check_siteallowed.bb @@ -0,0 +1,10 @@ +[h2]check_siteallowed[/h2] + +Called when checking the site black and white lists to see if a site is blocked. + +Hook data + + array('url' => URL of site to check); + + create and set array element 'allowed' to true or false to override the system checks + -- cgit v1.2.3