aboutsummaryrefslogtreecommitdiffstats
path: root/doc/en/hook/check_siteallowed.bb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/en/hook/check_siteallowed.bb')
-rw-r--r--doc/en/hook/check_siteallowed.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/en/hook/check_siteallowed.bb b/doc/en/hook/check_siteallowed.bb
new file mode 100644
index 000000000..28134cbd2
--- /dev/null
+++ b/doc/en/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
+