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'] ?? '/')));