Files
php_assessment_1/config.php
T

92 lines
2.3 KiB
PHP
Raw Normal View History

2025-02-04 23:08:40 +01:00
<?php
class MkdConfig
{
private static $instance = null;
protected $_config = [];
public function __construct()
{
$this->_config = [
"project-name" => "Team Followup ",
"project-type" => "",
"programming-language" => "php",
"user-type" => "",
"domain-name" => "localhost:9000",
"company-name" => "",
"payment-type" => "",
"jwt-expiry" => 3700,
"stripe" => 0,
"stripe-key" => "",
"stripe-secret" => "",
"stripe-dev-key" => "",
"stripe-dev-secret" => "",
"api-type" => "",
"SMTP" => 0,
"smtp-hostname" => "smtp.mailtrap.io",
"smtp-u-ser" => "",
"smtp-password" => "",
"smtp-port" => 2525,
"database" => 1,
"database-type" => "sql",
"database-hostname" => "localhost",
"database-u-ser" => "root",
"database-password" => "",
"database-port" => "3306",
"database-name" => "team_followup_prod_test",
"upload" => 0,
"aws-version" => "",
"aws-region" => "",
"aws-key" => "",
"aws-secret" => "",
"aws-bucket" => "",
"google" => 0,
"google_client_id" => "356934742115-c707dqbhct9b7gj64eo9rqfdfi47rb8o.apps.googleusercontent.com",
"google_client_secret" => "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",
"google_redirect_uri" => "https://b251-102-88-55-69.ngrok-free.app/google/drive/callback",
"google_auth_json" => "",
"facebook" => 0,
"facebook_client_id" => "",
"facebook_client_secret" => "",
"facebook_redirect_uri" => "",
"facebook_oath_uri" => "",
"twilio" => 0,
"twilio-sid" => "",
"twilio-phone-number" => "",
"twilio-token" => "",
"jwt_key" => "59943bc926b6a42cc8e27eb70a41647720b0097abd03d94f987168e40063e1516514a7488c2b262d004716c64a32797d9aad",
"csrf" => 0,
"csrf_key" => "q87i61trbaB(k7tol8se5wL=bhubj788iuD.52q6m0n4xtM",
"maintenance" => 0,
"gohighlevel_key" => "",
"gohighlevel_redirect_uri" => "https://d1bd-2c0f-2a80-4e-f410-2948-a8bf-43b6-fa80.ngrok-free.app/ghl/callback",
"gohighlevel_client_id" => "m4iv3stx",
"gohighlevel_client_secret" => "-682f-4a4f-860d-",
];
}
/**
* Get Instance
*
* @return mixed
*/
public static function get_instance()
{
if (self::$instance == null) {
self::$instance = new MkdConfig();
}
return self::$instance;
}
/**
* Get Connection
*
* @return mixed
*/
public function get_config()
{
return $this->_config;
}
}