summaryrefslogtreecommitdiff
path: root/common/config_cls.php
blob: b4174be53d006be406a52d73a98039bbf874f5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
namespace mcoop;

class Config {
	public $pdo_connstring = null;
	public $db_username = null;
	public $db_password = null;
	public $recaptcha_sitekey = null;
	public $recaptcha_secret = null;
	public $email_from_address = null;
	public $webapp_base_uri = null;
	public $website_name = null;

	function __construct($pdo_connstring, $db_uname, $db_passwd, $recaptcha_sitekey, $recaptcha_sec, $email_from_addr, $webapp_base_uri, $website_name) {
		$this->pdo_connstring = $pdo_connstring;
		$this->db_username = $db_uname;
		$this->db_password = $db_passwd;
		$this->recaptcha_sitekey = $recaptcha_sitekey;
		$this->recaptcha_secret = $recaptcha_sec;
		$this->email_from_address = $email_from_addr;
		$this->webapp_base_uri = $webapp_base_uri;
		$this->website_name = $website_name;
	}
}

?>