/* Configurations */
$config = array(

    "app_id" => "",
    "version" => "1.0",

    /* Allowance settings */
    "allowed_remote_address" => "127.0.0.1,::1,localhost",
    "allowed_origins" => "localhost",

    /* Basic settings */
    "site_name" => "{{site_name}}",
    "base_url" => "{{base_url}}",

    "language" => "en",

    "translate" => true,
    "translate_value" => false,

    "template" => "default",
    "backend_template" => "default",

    /* Contact */
    "email" => "",
    "phone" => "",
    "address" => "",

    /* Regional settings */
    "encoding" => "UTF-8",
    "timezone" => "UTC", // Asia/Bangkok

    /* Notification */
    "notification_color" => "#ffffff",
    "notification_icon" => "",
    "notification_token" => "",

    /* Google analytics code */
    "google_analytics" => "",

    /* Facebook analytics code */
    "facebook_analytics" => "",

    /* Google webmaster tools */
    "google_site_verification" => "",

    /* Bing webmaster tools */
    "bing_site_verification" => "",

    /* Mail */
    "smtp" => true,
    "smtp_host" => "", // "smtp.gmail.com"
    "smtp_port" => 587,
    "smtp_secure" => "", // "ssl" | "tls"
    "smtp_auth" => true,
    "smtp_system_email_username" => "",
    "smtp_system_email_password" => "",

    /* Apple Service */
    "service_apple_shared_secret" => "",

    /* Google Service */
    "service_google_client_email" => "",
    "service_google_private_key" => "",

    /* Google Authentication App Configurations */
    "connect_google_redirect_url" => "{{base_url}}/api/connect/google",
    "connect_google_api_key" => "",
    "connect_google_client_config_path" => "",
    "connect_google_scope" => "", // "profile,email,openid"

    /* Microsoft Authentication App Configurations */
    "connect_microsoft_redirect_url" => "{{base_url}}/api/connect/microsoft",
    "connect_microsoft_id" => "",
    "connect_microsoft_secret" => "",
    "connect_microsoft_scope" => "",

    /* Apple Authentication App Configurations */
    "connect_apple_redirect_url" => "{{base_url}}/api/connect/apple",
    "connect_apple_id" => "",
    "connect_apple_secret" => "",
    "connect_apple_kid" => "",
    "connect_apple_team_id" => "",
    "connect_apple_key" => "",
    "connect_apple_scope" => "", // "name,email"

    /* Facebook Authentication App Configurations */
    "connect_facebook_redirect_url" => "{{base_url}}/api/connect/facebook",
    "connect_facebook_id" => "",
    "connect_facebook_secret" => "",
    "connect_facebook_scope" => "", // "public_profile,email"

    /* Twitter Authentication App Configurations */
    "connect_twitter_redirect_url" => "{{base_url}}/api/connect/twitter",
    "connect_twitter_id" => "",
    "connect_twitter_secret" => "",
    "connect_twitter_scope" => "",

    /* Snapchat Authentication App Configurations */
    "connect_snapchat_redirect_url" => "{{base_url}}/api/connect/snapchat",
    "connect_snapchat_id" => "",
    "connect_snapchat_secret" => "",
    "connect_snapchat_scope" => "", // "https://auth.snapchat.com/oauth2/api/user.display_name, https://auth.snapchat.com/oauth2/api/user.bitmoji.avatar,https://auth.snapchat.com/oauth2/api/user.external_id"
    "connect_snapchat_api_key" => "",

    /* Spotify Authentication App Configurations */
    "connect_spotify_redirect_url" => "{{base_url}}/api/connect/spotify",
    "connect_spotify_id" => "",
    "connect_spotify_secret" => "",
    "connect_spotify_scope" => "", // "user-top-read"

    /* Line Authentication App Configurations */
    "connect_line_redirect_url" => "{{base_url}}/api/connect/line",
    "connect_line_id" => "",
    "connect_line_secret" => "",
    "connect_line_scope" => "", // "openid,profile"

    /* Pagination */
    "page_limit" => 10,
    "page_parameter_name" => "page",

    /* Environments */
    "url_rewriting" => false,
    "compression" => false,
    "online" => true,

    /* Log */
    "log" => array("normal", "risk", "high"), // This could reduce query time
    "server_log" => false, // This could reduce query time

    /* Session */
    "session_duration" => "+6 months", // use strtotime command

    /* Password */
    "password_salt" => "{{password_salt}}",

    /* Nonce */
    "nonce_enable" => false,
    "nonce_expiration" => "24:00:00",

    /* User */
    "signup_email_verification" => false,
    "signup_phone_verification" => false,
    "signup_ndid_verification" => false,
    "signup_default_group" => "4",

    /* Admin settings */
    "backend_url" => "console",
    "max_upload_size" => 100,
    "datatable_data_limit" => 100,
    "datatable_page_limit" => 20, // 5 | 10 | 20

    /* Commerce */
    "size_unit" => "cm", // "cm" (Centimeter) | "m" (Metre) | "in" (Inch) | "ft" (Foot)
    "weight_unit" => "g", // "g" (Gram) | "kg" (Kilogram) | "lb" (Pound)
    "currency" => "USD", // "USD" | "EUR" | "AUD" | "CAD" | "CNY" | "JPY" | "KRW" | "HKD" | "THB"
    "vat_amount" => "", // 3 (VAT percent)

    /* Payment Gateway */
    "omise_api_version" => "",
    "omise_public_key" => "",
    "omise_secret_key" => "",
    "omise_fee" => "",
    "omise_fee_vat_amount" => "",

    /* Data encryption */
    "encrypt_authorization" => "", // "RS256"
    "encrypt_response" => "", // "HS256"

    "encrypt_key" => "",

    "encrypt_ssl_private_key" => "",

    "encrypt_ssl_public_key" => "",

    "services_path" => "services",
    "callback_path" => "services/callback",
    "media_path" => "media",

    /* Database */
    "database_host" => "{{database_host}}",
    "database_name" => "{{database_name}}",
    "database_login" => "{{database_login}}",
    "database_password" => "{{database_password}}",
    "database_encoding" => "utf8mb4"

);