mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
3fe14dff0a
commit
e47e6272b0
@ -8,7 +8,7 @@
|
|||||||
- Release v2.1.5-2023.06 🎉
|
- Release v2.1.5-2023.06 🎉
|
||||||
- Fixed $bb_cfg['pm_days_keep'] [\#180](https://github.com/torrentpier/torrentpier-lts/pull/180) ([belomaxorka](https://github.com/belomaxorka))
|
- Fixed $bb_cfg['pm_days_keep'] [\#180](https://github.com/torrentpier/torrentpier-lts/pull/180) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- IP storage bugfix [\#177](https://github.com/torrentpier/torrentpier-lts/pull/177) ([belomaxorka](https://github.com/belomaxorka))
|
- IP storage bugfix [\#177](https://github.com/torrentpier/torrentpier-lts/pull/177) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179) ([belomaxorka](https://github.com/belomaxorka))
|
- Minor improvements [\#172](https://github.com/torrentpier/torrentpier-lts/pull/172), [\#175](https://github.com/torrentpier/torrentpier-lts/pull/175), [\#176](https://github.com/torrentpier/torrentpier-lts/pull/176), [\#178](https://github.com/torrentpier/torrentpier-lts/pull/178), [\#179](https://github.com/torrentpier/torrentpier-lts/pull/179), [\#181](https://github.com/torrentpier/torrentpier-lts/pull/181) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Fixed empty user search box [\#171](https://github.com/torrentpier/torrentpier-lts/pull/171) ([belomaxorka](https://github.com/belomaxorka))
|
- Fixed empty user search box [\#171](https://github.com/torrentpier/torrentpier-lts/pull/171) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Added some placeholders for input fields [\#173](https://github.com/torrentpier/torrentpier-lts/pull/173) ([belomaxorka](https://github.com/belomaxorka))
|
- Added some placeholders for input fields [\#173](https://github.com/torrentpier/torrentpier-lts/pull/173) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Maked max post length configurable [\#174](https://github.com/torrentpier/torrentpier-lts/pull/174) ([belomaxorka](https://github.com/belomaxorka))
|
- Maked max post length configurable [\#174](https://github.com/torrentpier/torrentpier-lts/pull/174) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
|
@ -17,7 +17,7 @@ $torrent = DB()->fetch_row("SELECT at.attach_id, at.physical_filename FROM ". BB
|
|||||||
if (!$torrent) $this->ajax_die($lang['EMPTY_ATTACH_ID']);
|
if (!$torrent) $this->ajax_die($lang['EMPTY_ATTACH_ID']);
|
||||||
$filename = get_attachments_dir() .'/'. $torrent['physical_filename'];
|
$filename = get_attachments_dir() .'/'. $torrent['physical_filename'];
|
||||||
|
|
||||||
if (($file_contents = @file_get_contents($filename)) === false)
|
if (!file_exists($filename) || (false === ($file_contents = file_get_contents($filename))))
|
||||||
{
|
{
|
||||||
if (IS_AM)
|
if (IS_AM)
|
||||||
{
|
{
|
||||||
|
@ -125,7 +125,7 @@ $bb_cfg['cache']['redis'] = array(
|
|||||||
'con_required' => true,
|
'con_required' => true,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Available cache types: memcache, sqlite, redis, apc, xcache (default of filecache)
|
// Available cache types: filecache, memcache, sqlite, redis, apc, xcache (default filecache)
|
||||||
# name => array( (string) type, (array) cfg )
|
# name => array( (string) type, (array) cfg )
|
||||||
$bb_cfg['cache']['engines'] = array(
|
$bb_cfg['cache']['engines'] = array(
|
||||||
'bb_cache' => array('filecache', array()),
|
'bb_cache' => array('filecache', array()),
|
||||||
@ -137,7 +137,7 @@ $bb_cfg['cache']['engines'] = array(
|
|||||||
'bb_poll_data' => array('filecache', array()),
|
'bb_poll_data' => array('filecache', array()),
|
||||||
);
|
);
|
||||||
// Datastore
|
// Datastore
|
||||||
// Available datastore types: memcache, sqlite, redis, apc, xcache (default filecache)
|
// Available datastore types: filecache, memcache, sqlite, redis, apc, xcache (default filecache)
|
||||||
$bb_cfg['datastore_type'] = 'filecache';
|
$bb_cfg['datastore_type'] = 'filecache';
|
||||||
|
|
||||||
// Server
|
// Server
|
||||||
|
Loading…
Reference in New Issue
Block a user