From be50cb1d9cdaab3c8b0bdbbb7fc3fa6c2df14c7c Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 2 Jul 2025 12:06:25 +0300 Subject: [PATCH] feat: Restore `bb_realpath` --- library/includes/functions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/includes/functions.php b/library/includes/functions.php index 6bfd477b0..dc3edb86d 100644 --- a/library/includes/functions.php +++ b/library/includes/functions.php @@ -1489,6 +1489,11 @@ function bb_simple_die($txt, $status_code = null) die($txt); } +function bb_realpath($path) +{ + return realpath($path); +} + function login_redirect($url = '') { redirect(LOGIN_URL . '?redirect=' . (($url) ?: ($_SERVER['REQUEST_URI'] ?? '/')));