<?php

/**
 * PHPMaker 2024 configuration file (Production)
 */

return [
    "Databases" => [
        "DB" => ["id" => "DB", "type" => "MYSQL", "qs" => "`", "qe" => "`", "host" => "109.123.234.33", "port" => "3306", "user" => "projectmanage", "password" => "projectmanage123", "dbname" => "projectmanagement"]
    ],
    "SMTP" => [
        "PHPMAILER_MAILER" => "smtp", // PHPMailer mailer
        "SERVER" => "localhost", // SMTP server
        "SERVER_PORT" => 587, // SMTP server port
        "SECURE_OPTION" => "",
        "SERVER_USERNAME" => "mal.mitral.co.id", // SMTP server user name
        "SERVER_PASSWORD" => "Mitraljaya12", // SMTP server password
    ],
    "JWT" => [
        "SECRET_KEY" => "yudha", // JWT secret key
        "ALGORITHM" => "HS512", // JWT algorithm
        "AUTH_HEADER" => "X-Authorization", // API authentication header (Note: The "Authorization" header is removed by IIS, use "X-Authorization" instead.)
        "NOT_BEFORE_TIME" => 7200, // API access time before login
        "EXPIRE_TIME" => 7200 // API expire time
    ]
];
