summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/alert.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/alert.php b/lib/alert.php
index 97cb302..7aa8d32 100644
--- a/lib/alert.php
+++ b/lib/alert.php
@@ -1,4 +1,6 @@
<?php
+include_once "{$_SERVER['DOCUMENT_ROOT']}/lib/utils.php";
+
function generate_alert(string $path, string $error, int $status = 400)
{
http_response_code($status);