From 306418955ed4d16f33488ac3b914758579ee8f89 Mon Sep 17 00:00:00 2001 From: Exile Date: Thu, 14 Aug 2014 22:54:34 +0400 Subject: [PATCH] Config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Пояснения к путям у капчи и атомов. Уменьшенный интервал генерации общих атомов. --- install/sql/mysql.sql | 2 +- upload/config.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/install/sql/mysql.sql b/install/sql/mysql.sql index 3a168aefa..a34ee47bb 100644 --- a/install/sql/mysql.sql +++ b/install/sql/mysql.sql @@ -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); -- -------------------------------------------------------- diff --git a/upload/config.php b/upload/config.php index 254f3b42b..43b6483ad 100644 --- a/upload/config.php +++ b/upload/config.php @@ -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); \ No newline at end of file