1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-29 04:55:02 +03:00

Патчи по ленте топиков для базы и конфига

This commit is contained in:
kirsan 2011-05-23 14:01:06 +00:00
parent c29e4b2025
commit 7e8c5b8ed4
2 changed files with 8 additions and 0 deletions

3
patch.config.php Normal file
View file

@ -0,0 +1,3 @@
$config['router']['page']['feed'] = 'ActionUserfeed';
$config['db']['table']['userfeed_subscribe'] = '___db.table.prefix___userfeed_subscribe';
$config['module']['userfeed']['count_default'] = 10; // Число топиков в ленте по умолчанию

5
patch.sql Normal file
View file

@ -0,0 +1,5 @@
CREATE TABLE `soc_userfeed_subscribe` (
`user_id` int(11) NOT NULL,
`subscribe_type` tinyint(4) NOT NULL,
`target_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8