mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Minor improvements (#882)
* Minor improvements * Updated * Updated * Updated * Update privmsg.php * Updated * Update admin_attach_cp.php
This commit is contained in:
parent
2c07660435
commit
4b453de64a
75 changed files with 699 additions and 735 deletions
|
@ -48,7 +48,7 @@ function get_config()
|
|||
{
|
||||
global $bb_cfg;
|
||||
|
||||
$attach_config = array();
|
||||
$attach_config = [];
|
||||
|
||||
$sql = 'SELECT * FROM ' . BB_ATTACH_CONFIG;
|
||||
|
||||
|
@ -67,7 +67,7 @@ function get_config()
|
|||
}
|
||||
|
||||
// Get Attachment Config
|
||||
$attach_config = array();
|
||||
$attach_config = [];
|
||||
|
||||
if (!$attach_config = CACHE('bb_cache')->get('attach_config')) {
|
||||
$attach_config = get_config();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue