mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-13 23:29:02 +00:00
[templates, config] Add SITE_FLAVOR for selecting nyaa/sukebei, update templates
By default TABLE_PREFIX is derived from flavor. Added back Date column, adjusted column widths
This commit is contained in:
@@ -20,8 +20,8 @@ CSRF_SESSION_KEY = '***'
|
||||
SECRET_KEY = '***'
|
||||
|
||||
# Prefix for running multiple sites, user table will not be prefixed.
|
||||
# For sukebei, change 'nyaa_' to 'sukebei_'
|
||||
TABLE_PREFIX = 'nyaa_'
|
||||
SITE_FLAVOR = 'nyaa' # 'nyaa' or 'sukebei'
|
||||
TABLE_PREFIX = SITE_FLAVOR + '_'
|
||||
|
||||
# for recaptcha and email verification:
|
||||
# keys for localhost. Change as appropriate when actual domain is registered.
|
||||
|
||||
Reference in New Issue
Block a user