-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.blank.php
54 lines (43 loc) · 1.3 KB
/
config.blank.php
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
53
54
<?php
// SET THE TIME ZONE
date_default_timezone_set( "Australia/Adelaide" );
// TWITTER
define( 'SERVERHASHTAG', '' );
define( 'ADMINNAME', '' );
// OAUTH KEYS
define( 'CONKEY', '' );
define( 'CONSECRET', '' );
define( 'OATOKEN', '' );
define( 'OASECRET', '' );
// DATABASE
define( 'DB_DSN', 'mysql:dbname=;host=;port=;' );
define( 'DB_USER', '' );
define( 'DB_PASS', '' );
define( 'DB_HOST', 'localhost' );
// EMAIL
define( 'MAILGUN_DOMAIN', 'DOMAIN.mailgun.org');
define( 'FROM_EMAIL', 'SERVER <[email protected]>' );
define( 'TO_EMAIL', 'YOU <[email protected]>' );
define( 'APIKEY', 'api:key-' );
// DATE FORMAT
define( 'DATE', date( "F j, Y, g:i a" ) );
// PATH TO ERROR LOGS
$config['errorLogs'][] = array(
"path" => "/",
"twitterName" => "/"
);
// DEFINE HARD DRIVES
$config['drives'][] = array(
"path" => "/",
"name" => "/"
);
// PATH TO BACKUP LOGS
$config['backupLogs'][] = array(
"path" => "/"
);
try {
$dbh = new PDO( DB_DSN, DB_USER, DB_PASS );
$dbh->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
} catch ( PDOException $e ) {
printf( 'Database Error: %s<br />', $e->getMessage( ) );
}