-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.php
More file actions
52 lines (46 loc) · 939 Bytes
/
Copy pathConfig.php
File metadata and controls
52 lines (46 loc) · 939 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
namespace PropertyAgent;
/**
* Defines a class which holds relevant information for the application
* to work, such as keys and credentials for connecting to the database.
*/
abstract class Config
{
/**
* The database hostname.
*
* @var string
*/
const DB_HOST = 'localhost';
/**
* The name of the database which is to be used.
*
* @var string
*/
const DB_NAME = '';
/**
* The username for accessing the database.
*
* @var string
*/
const DB_USER = '';
/**
* The password to use in conjuction with the username.
*
* @var string
*/
const DB_PASS = '';
/**
* The Google Maps API key which is used to fetch maps from Google
* based on addresses.
*
* @var string
*/
const GMAPS_KEY = '';
/**
* Limit of items per page for paginated results.
*
* @var int
*/
const PAGE_LIMIT = 6;
}