Last active
December 18, 2016 22:39
-
-
Save 3D-I/e32fd9b76d18865fa140506cebfc0348 to your computer and use it in GitHub Desktop.
phpBB 3.1.10 - restore EXTENSIONS and EXTENSION_GROUPS TABLEs to Vanilla
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TRUNCATE TABLE phpbb_extension_groups; | |
INSERT INTO phpbb_extension_groups (group_id, group_name, cat_id, allow_group, download_mode, upload_icon, max_filesize, allowed_forums, allow_in_pm) VALUES | |
(1, 'IMAGES', 1, 1, 1, '', 0, '', 0), | |
(2, 'ARCHIVES', 0, 1, 1, '', 0, '', 0), | |
(3, 'PLAIN_TEXT', 0, 0, 1, '', 0, '', 0), | |
(4, 'DOCUMENTS', 0, 0, 1, '', 0, '', 0), | |
(5, 'REAL_MEDIA', 3, 0, 1, '', 0, '', 0), | |
(6, 'WINDOWS_MEDIA', 2, 0, 1, '', 0, '', 0), | |
(7, 'FLASH_FILES', 5, 0, 1, '', 0, '', 0), | |
(8, 'QUICKTIME_MEDIA', 6, 0, 1, '', 0, '', 0), | |
(9, 'DOWNLOADABLE_FILES', 0, 0, 1, '', 0, '', 0); | |
TRUNCATE TABLE phpbb_extensions; | |
INSERT INTO phpbb_extensions (extension_id, group_id, extension) VALUES | |
(1, 1, 'gif'), | |
(2, 1, 'png'), | |
(3, 1, 'jpeg'), | |
(4, 1, 'jpg'), | |
(5, 1, 'tif'), | |
(6, 1, 'tiff'), | |
(7, 1, 'tga'), | |
(8, 2, 'gtar'), | |
(9, 2, 'gz'), | |
(10, 2, 'tar'), | |
(11, 2, 'zip'), | |
(12, 2, 'rar'), | |
(13, 2, 'ace'), | |
(14, 2, 'torrent'), | |
(15, 2, 'tgz'), | |
(16, 2, 'bz2'), | |
(17, 2, '7z'), | |
(18, 3, 'txt'), | |
(19, 3, 'c'), | |
(20, 3, 'h'), | |
(21, 3, 'cpp'), | |
(22, 3, 'hpp'), | |
(23, 3, 'diz'), | |
(24, 3, 'csv'), | |
(25, 3, 'ini'), | |
(26, 3, 'log'), | |
(27, 3, 'js'), | |
(28, 3, 'xml'), | |
(29, 4, 'xls'), | |
(30, 4, 'xlsx'), | |
(31, 4, 'xlsm'), | |
(32, 4, 'xlsb'), | |
(33, 4, 'doc'), | |
(34, 4, 'docx'), | |
(35, 4, 'docm'), | |
(36, 4, 'dot'), | |
(37, 4, 'dotx'), | |
(38, 4, 'dotm'), | |
(39, 4, 'pdf'), | |
(40, 4, 'ai'), | |
(41, 4, 'ps'), | |
(42, 4, 'ppt'), | |
(43, 4, 'pptx'), | |
(44, 4, 'pptm'), | |
(45, 4, 'odg'), | |
(46, 4, 'odp'), | |
(47, 4, 'ods'), | |
(48, 4, 'odt'), | |
(49, 4, 'rtf'), | |
(50, 5, 'rm'), | |
(51, 5, 'ram'), | |
(52, 6, 'wma'), | |
(53, 6, 'wmv'), | |
(54, 7, 'swf'), | |
(55, 8, 'mov'), | |
(56, 8, 'm4v'), | |
(57, 8, 'm4a'), | |
(58, 8, 'mp4'), | |
(59, 8, '3gp'), | |
(60, 8, '3g2'), | |
(61, 8, 'qt'), | |
(62, 9, 'mpeg'), | |
(63, 9, 'mpg'), | |
(64, 9, 'mp3'), | |
(65, 9, 'ogg'), | |
(66, 9, 'ogm'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment