forked from arosenfeld/phpwatch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.php
27 lines (24 loc) · 759 Bytes
/
config.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
<?php
$PW2_CONFIG = array(
'db_scheme' => 'MySQL', // PdoMySQL
'db_info' => array(
'host' => '',
'user' => '',
'pass' => '',
'db' => ''
),
'email' => array(
'from' => '', // Email from
'message_header' => '', // Text before report
'message_footer' => '-------------------' . "\r\n" // Text after report
. "\r\n"
. 'phpWatch: https://github.com/tck/phpwatch' . "\r\n",
),
'path' => dirname(__FILE__),
);
if (file_exists($PW2_CONFIG['path'] . '/config.local.php')) {
include_once $PW2_CONFIG['path'] . '/config.local.php';
}
define('PW2_VERSION', '2.1.0 Beta');
define('PW2_PATH', $PW2_CONFIG['path']);
define('PW2_DATEFORMAT', 'D, M j, Y G:i:s T');