static $SENDGRID_OPTIONS = null; static $CONTACT_FORM_TO = null; static $SUBSCRIPTION_FORM_TO = null; static $FB_APP_ID = null; static $DATABASE_URL = null; static $TABLE_PREFIX = null; static $AUTH_KEY = null; static $SECURE_AUTH_KEY = null; static $LOGGED_IN_KEY = null; static $NONCE_KEY = null; static $AUTH_SALT = null; static $SECURE_AUTH_SALT = null; static $LOGGED_IN_SALT = null; static $NONCE_SALT = null; } Config::$ENV = getenv('ENV') ? getenv('ENV') : 'development'; Config::$RECAPTCHA_SECRET = getenv('RECAPTCHA_SECRET_KEY') ? getenv('RECAPTCHA_SECRET_KEY') : '6LdJQPsSAAAAAPR785D6gMWnB6wWppIqTzWmt8B1'; Config::$RECAPTCHA_PUBLIC = getenv('RECAPTCHA_PUBLIC_KEY') ? getenv('RECAPTCHA_PUBLIC_KEY') : '6LdJQPsSAAAAANTzbkrSJBRnZ5emZm_emcxQaYiK'; Config::$SENDGRID_USERNAME = getenv('SENDGRID_USERNAME') ? getenv('SENDGRID_USERNAME') : '*****@*****.**'; Config::$SENDGRID_PASSWORD = getenv('SENDGRID_PASSWORD') ? getenv('SENDGRID_PASSWORD') : 'nmurhx20'; Config::$FB_APP_ID = getenv('FB_APP_ID') ? getenv('FB_APP_ID') : '660565487397732'; // fbAppId: '369629269872839' // PRODUCTION Config::$SENDGRID_OPTIONS = getenv('ENV') !== 'production' ? array('turn_off_ssl_verification' => true) : array(); Config::$CONTACT_FORM_TO = '*****@*****.**'; Config::$SUBSCRIPTION_FORM_TO = '*****@*****.**'; // DB settings if (getenv('DATABASE_URL')) { Config::$DATABASE_URL = getenv('DATABASE_URL'); } else { if (getenv('CLEARDB_DATABASE_URL')) { Config::$DATABASE_URL = getenv('CLEARDB_DATABASE_URL');