mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Replaced bb_realpath() with native (#740)
This commit is contained in:
parent
d2588855fa
commit
c6b6a79da9
2 changed files with 2 additions and 7 deletions
|
@ -1295,7 +1295,7 @@ function obtain_word_list(&$orig_word, &$replacement_word)
|
|||
global $bb_cfg;
|
||||
|
||||
if (!$bb_cfg['use_word_censor']) {
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$sql = CACHE('bb_cache')->get('censored')) {
|
||||
|
@ -1381,11 +1381,6 @@ function bb_simple_die($txt)
|
|||
die($txt);
|
||||
}
|
||||
|
||||
function bb_realpath($path)
|
||||
{
|
||||
return realpath($path);
|
||||
}
|
||||
|
||||
function login_redirect($url = '')
|
||||
{
|
||||
redirect(LOGIN_URL . '?redirect=' . (($url) ?: ($_SERVER['REQUEST_URI'] ?? '/')));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue