mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Old ads module removal.
This commit is contained in:
parent
eb52f5a419
commit
46127baf3f
11 changed files with 49 additions and 270 deletions
|
@ -72,7 +72,6 @@
|
|||
* Users
|
||||
* Groups
|
||||
* Tidy
|
||||
* Ads
|
||||
* Misc
|
||||
* Extensions
|
||||
* Attachments
|
||||
|
@ -542,23 +541,6 @@ $bb_cfg['group_members_per_page'] = 50;
|
|||
// Tidy
|
||||
$bb_cfg['tidy_post'] = (!in_array('tidy', get_loaded_extensions(), true)) ? false : true;
|
||||
|
||||
// Ads
|
||||
$bb_cfg['show_ads'] = false;
|
||||
$bb_cfg['show_ads_users'] = array(
|
||||
# user_id => 'name',
|
||||
2 => 'admin',
|
||||
);
|
||||
|
||||
// block_type => [block_id => block_desc]
|
||||
$bb_cfg['ad_blocks'] = array(
|
||||
'trans' => array(
|
||||
100 => 'сквозная сверху',
|
||||
),
|
||||
'index' => array(
|
||||
200 => 'главная, под новостями',
|
||||
),
|
||||
);
|
||||
|
||||
// Misc
|
||||
define('MEM_USAGE', function_exists('memory_get_usage'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue