Old ads module removal.

This commit is contained in:
Yuriy Pikhtarev 2017-05-27 13:12:07 +03:00
commit 46127baf3f
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
11 changed files with 49 additions and 270 deletions

View file

@ -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'));