diff options
| author | ilotterytea <iltsu@alright.party> | 2025-12-10 18:21:51 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-12-10 18:21:51 +0500 |
| commit | 0891b1fb605a0244a3f034ebdd528b4b57fa35f2 (patch) | |
| tree | 3af3ebf6be1f641b0b1fde2ebc474846673d0a11 /404.php | |
| parent | 78ccc7e7db5fca5a1ff9bb63ef64b015f3afb1f3 (diff) | |
upd: removed INSTANCE_STATIC_FOLDER constant
Diffstat (limited to '404.php')
| -rw-r--r-- | 404.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ $reason = str_safe($_GET["error_reason"] ?? "Not found", 200); <section style="position: absolute; right: 6px; bottom: 6px;"> <img src="/static/img/404/<?php - $files = scandir(INSTANCE_STATIC_FOLDER . "/img/404"); + $files = scandir("{$_SERVER['DOCUMENT_ROOT']}/static/img/404"); array_splice($files, 0, 2); echo $files[random_int(0, count($files) - 1)]; ?>" alt=""></img> |
