Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (22 sloc) 578 Bytes
KEYS_DEFAULT = 10
KEYS_LIMIT = 100
SHARES_LIMIT = 9
DEFAULT_SSSN = 5
DEFAULT_SSSK = 3
PI = ApplicationHelper::pi?
OSX = ApplicationHelper::osx?
DEV = Rails.env.development?
PROD = Rails.env.production?
TEST = Rails.env.test?
HEROKU = Rails.root.to_path == "/app"
COPY = PI || TEST
AJAXON = true
DEBUG = false
HOT = ConnectionHelper::internet_connection?
PBKDF2_ITERATIONS = PROD ? 1_000_000 : 10
ENCRYPTION_LIBRARY = CryptoHelper::check_pbkdf2
ID = rand(100000..999999)
FLASH_DELAY_SECONDS = PI ? 5 : 3
FLASH_FADE_SECONDS = 2
PBKDF_ALERT_DELAY_SECONDS = PI ? 3 : 1
VERSION = 11