mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Config
Пояснения к путям у капчи и атомов. Уменьшенный интервал генерации общих атомов.
This commit is contained in:
parent
892b601b64
commit
306418955e
2 changed files with 5 additions and 5 deletions
|
@ -645,7 +645,7 @@ INSERT INTO `bb_cron` VALUES (19, 1, 'Captcha', 'captcha_gen_gc.php', 'daily', N
|
|||
INSERT INTO `bb_cron` VALUES (20, 1, 'Tracker dl-complete count', 'tr_complete_count.php', 'interval', NULL, NULL, 255, '', '', '06:00:00', 0, '', 0, 0, 0);
|
||||
INSERT INTO `bb_cron` VALUES (21, 1, 'Cache garbage collector', 'cache_gc.php', 'interval', NULL, NULL, 255, '', '', '00:05:00', 0, '', 0, 0, 0);
|
||||
INSERT INTO `bb_cron` VALUES (22, 1, 'Sitemap update', 'sitemap.php', 'daily', NULL, '06:00:00', 30, '', '', NULL, 0, '', 0, 0, 0);
|
||||
INSERT INTO `bb_cron` VALUES (23, 1, 'Update forums atom', 'update_forums_atom.php', 'interval', NULL, NULL, 255, '', '', '00:20:00', 0, '', 0, 0, 0);
|
||||
INSERT INTO `bb_cron` VALUES (23, 1, 'Update forums atom', 'update_forums_atom.php', 'interval', NULL, NULL, 255, '', '', '00:15:00', 0, '', 0, 0, 0);
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
|
|
|
@ -593,14 +593,14 @@ $bb_cfg['advert_url'] = 'misc.php?do=info&show=advert';
|
|||
$bb_cfg['captcha'] = array(
|
||||
'disabled' => false,
|
||||
'secret_key' => 'secret_key',
|
||||
'img_url' => './images/captcha/',
|
||||
'img_path' => BB_PATH .'/images/captcha/',
|
||||
'img_url' => './images/captcha/', # with '/'
|
||||
'img_path' => BB_PATH .'/images/captcha/', # with '/'
|
||||
);
|
||||
|
||||
// Atom feed
|
||||
$bb_cfg['atom'] = array(
|
||||
'path' => BB_PATH .'/atom',
|
||||
'url' => './atom',
|
||||
'path' => BB_PATH .'/atom', # without '/'
|
||||
'url' => './atom', # without '/'
|
||||
);
|
||||
|
||||
define('BB_CFG_LOADED', true);
|
Loading…
Add table
Add a link
Reference in a new issue