Browse Source

array(...) -> [...] in config

spaghetti 8 years ago
parent
commit
c0e56d3be8
1 changed files with 23 additions and 23 deletions
  1. 23
    23
      classes/config.template

+ 23
- 23
classes/config.template View File

@@ -152,32 +152,32 @@ define('MAX_EXTRA_RANK',   8);
152 152
 define('DONOR_FORUM_RANK', 6);
153 153
 define('MAX_SPECIAL_RANK', 3);
154 154
 
155
-define('FORUMS_TO_REVEAL_VOTERS',      []);
155
+define('FORUMS_TO_REVEAL_VOTERS',     []);
156 156
 define('FORUMS_TO_ALLOW_DOUBLE_POST', []);
157 157
 
158
-$Categories = array('Movies', 'Anime', 'Manga', 'Games', 'Other');
158
+$Categories = ['Movies', 'Anime', 'Manga', 'Games', 'Other'];
159 159
 $GroupedCategories = $Categories;
160
-$CategoryIcons = array('music.png', 'apps.png', 'ebook.png', 'audiobook.png', 'elearning.png', 'comedy.png', 'comics.png');
161
-
162
-$Media = array('TV', 'DVD', 'Bluray', 'HD DVD', 'VHS', 'VCD', 'LD', 'Web');
163
-$MediaManga = array('Scan', 'Web');
164
-$Platform = array('Windows', 'OS X', 'Linux', 'BSD', 'Flash', 'Java', 'Android', 'iOS', '3DS');
165
-$Containers = array('AVI', 'MKV', 'MP4', 'OGM', 'WMV', 'ISO', 'VOB IFO', 'TS', 'M2TS');
166
-$ContainersGames = array('ISO', 'BIN-CUE', 'Installer', 'Loose');
167
-$Codecs = array('h264', '10-bit h264', 'XviD', 'DivX', 'WMV', 'DVD5', 'DVD9', 'HEVC', 'MPEG-2');
168
-$Resolutions = array('SD', '480p', '720p', '1080i', '1080p', '4K', 'Other');
169
-$AudioFormats = array('MP3', 'OGG', 'OGG 5.1', 'AAC', 'AAC 5.1', 'AC3', 'AC3 5.1', 'DTS 2.0', 'DTS 5.1', 'DTS-ES 6.1', 'FLAC 2.0', 'FLAC 5.1', 'FLAC 6.1', 'PCM 2.0', 'PCM 5.1', 'PCM 6.1', 'WMA', 'Real Audio', 'DTS-HD', 'DTS-HD MA');
170
-$Subbing = array('Softsubs', 'Hardsubs', 'RAW');
171
-$Languages = array('English', 'Japanese', 'Dual Language', 'None');
172
-$Archives = array('7z', 'zip', 'rar');
173
-$ArchivesManga = array('cbz', 'cbr', 'cb7');
174
-
175
-$Formats = array('MP3', 'FLAC', 'Ogg Vorbis', 'AAC', 'AC3', 'DTS');
176
-$Bitrates = array('192', 'APS (VBR)', 'V2 (VBR)', 'V1 (VBR)', '256', 'APX (VBR)', 'V0 (VBR)', 'q8.x (VBR)', '320', 'Lossless', '24bit Lossless', 'Other');
177
-
178
-$CollageCats = array(0=>'Personal', 1=>'Theme', 2=>'Staff picks', 3=>'Artists');
179
-
180
-$ReleaseTypes = array(1=>'Album', 3=>'Soundtrack', 5=>'EP', 6=>'Anthology', 7=>'Compilation', 9=>'Single', 11=>'Live album', 13=>'Remix', 14=>'Bootleg', 15=>'Interview', 16=>'Mixtape', 21=>'Unknown');
160
+$CategoryIcons = ['music.png', 'apps.png', 'ebook.png', 'audiobook.png', 'elearning.png', 'comedy.png', 'comics.png'];
161
+
162
+$Media = ['TV', 'DVD', 'Bluray', 'HD DVD', 'VHS', 'VCD', 'LD', 'Web'];
163
+$MediaManga = ['Scan', 'Web'];
164
+$Platform = ['Windows', 'OS X', 'Linux', 'BSD', 'Flash', 'Java', 'Android', 'iOS', '3DS'];
165
+$Containers = ['AVI', 'MKV', 'MP4', 'OGM', 'WMV', 'ISO', 'VOB IFO', 'TS', 'M2TS'];
166
+$ContainersGames = ['ISO', 'BIN-CUE', 'Installer', 'Loose'];
167
+$Codecs = ['h264', '10-bit h264', 'XviD', 'DivX', 'WMV', 'DVD5', 'DVD9', 'HEVC', 'MPEG-2'];
168
+$Resolutions = ['SD', '480p', '720p', '1080i', '1080p', '4K', 'Other'];
169
+$AudioFormats = ['MP3', 'OGG', 'OGG 5.1', 'AAC', 'AAC 5.1', 'AC3', 'AC3 5.1', 'DTS 2.0', 'DTS 5.1', 'DTS-ES 6.1', 'FLAC 2.0', 'FLAC 5.1', 'FLAC 6.1', 'PCM 2.0', 'PCM 5.1', 'PCM 6.1', 'WMA', 'Real Audio', 'DTS-HD', 'DTS-HD MA'];
170
+$Subbing = ['Softsubs', 'Hardsubs', 'RAW'];
171
+$Languages = ['English', 'Japanese', 'Dual Language', 'None'];
172
+$Archives = ['7z', 'zip', 'rar'];
173
+$ArchivesManga = ['cbz', 'cbr', 'cb7'];
174
+
175
+$Formats = ['MP3', 'FLAC', 'Ogg Vorbis', 'AAC', 'AC3', 'DTS'];
176
+$Bitrates = ['192', 'APS (VBR)', 'V2 (VBR)', 'V1 (VBR)', '256', 'APX (VBR)', 'V0 (VBR)', 'q8.x (VBR)', '320', 'Lossless', '24bit Lossless', 'Other'];
177
+
178
+$CollageCats = [0=>'Personal', 1=>'Theme', 2=>'Staff picks', 3=>'Artists'];
179
+
180
+$ReleaseTypes = [1=>'Album', 3=>'Soundtrack', 5=>'EP', 6=>'Anthology', 7=>'Compilation', 9=>'Single', 11=>'Live album', 13=>'Remix', 14=>'Bootleg', 15=>'Interview', 16=>'Mixtape', 21=>'Unknown'];
181 181
 
182 182
 // Ratio requirements, in descending order
183 183
 // Columns: Download amount, Req Ratio (0% seeded), Req Ratio (100% seeded)

Loading…
Cancel
Save