diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-11 00:32:04 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-11 00:32:04 +0500 |
| commit | 737a98595d635c9ab4426a8cec7112f5f67bdbd1 (patch) | |
| tree | 49210e051a13efba2a24bda28a31ba170ee1dadc /lib/alert.php | |
| parent | 07ab31dc06b3071af7cd6e5c8a88f2507ac109ee (diff) | |
fix: no str_safe in alert
Diffstat (limited to 'lib/alert.php')
| -rw-r--r-- | lib/alert.php | 2 |
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); |
