diff options
Diffstat (limited to 'data/global.pl')
-rw-r--r-- | data/global.pl | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/data/global.pl b/data/global.pl index 0d58e9b4..4046ce10 100644 --- a/data/global.pl +++ b/data/global.pl @@ -19,9 +19,12 @@ our %S = (%S, url_static => 'http://s.vndb.org', skin_default => 'angel', cookie_domain => '.vndb.org', + cookie_prefix => 'vndb_', global_salt => 'any-private-string-here', source_url => 'http://git.blicky.net/vndb.git/?h=master', admin_email => 'contact@vndb.org', + scr_size => [ 136, 102 ], # w*h of screenshot thumbnails + cv_size => [ 256, 400 ], # max. w*h of cover images user_ranks => [ # allowed actions # DB number [qw| hist |], # 0 @@ -52,16 +55,16 @@ our %S = (%S, prod_relations => { 'old' => [ 0, 'new' ], 'new' => [ 1, 'old' ], - 'sub' => [ 2, 'par' ], - 'par' => [ 3, 'sub' ], - 'imp' => [ 4, 'ipa' ], - 'ipa' => [ 5, 'imp' ], - 'spa' => [ 6, 'ori' ], - 'ori' => [ 7, 'spa' ], + 'spa' => [ 2, 'ori' ], + 'ori' => [ 3, 'spa' ], + 'sub' => [ 4, 'par' ], + 'par' => [ 5, 'sub' ], + 'imp' => [ 6, 'ipa' ], + 'ipa' => [ 7, 'imp' ], }, age_ratings => [undef, 0, 6..18], release_types => [qw|complete partial trial|], - platforms => [qw|win dos lin mac dvd gba msx nds nes p98 psp ps1 ps2 ps3 drc sat sfc wii xb3 oth|], + platforms => [qw|win dos lin mac ios dvd gba msx nds nes p98 psp ps1 ps2 ps3 drc sat sfc wii xb3 oth|], media => { #DB qty? cd => 1, @@ -85,9 +88,11 @@ our %S = (%S, [ '1024x768', '4:3' ], [ '1600x1200', '4:3' ], [ '640x400', 'widescreen' ], + [ '1024x576', 'widescreen' ], [ '1024x600', 'widescreen' ], [ '1024x640', 'widescreen' ], [ '1280x720 (720p)', 'widescreen' ], + [ '1280x800', 'widescreen' ], [ '1920x1080 (1080p)', 'widescreen' ], ], voiced => [ 0..4 ], @@ -105,7 +110,6 @@ our %M = ( #API => {}, # disabled by default, not really needed RG => {}, Image => {}, - Sitemap => {}, #Anime => {}, # disabled by default, requires AniDB username/pass Maintenance => {}, #IRC => {}, # disabled by default, no need to run an IRC bot when debugging |