mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
Replaced bb_exit() with native (#731)
This commit is contained in:
parent
20837e08ae
commit
eb94659c61
5 changed files with 4 additions and 15 deletions
|
@ -1692,7 +1692,7 @@ function caching_output($enabled, $mode, $cache_var_name, $ttl = 300)
|
|||
|
||||
if ($mode == 'send') {
|
||||
if ($cached_contents = CACHE('bb_cache')->get($cache_var_name)) {
|
||||
bb_exit($cached_contents);
|
||||
exit($cached_contents);
|
||||
}
|
||||
} elseif ($mode == 'store') {
|
||||
if ($output = ob_get_contents()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue