summaryrefslogtreecommitdiff
path: root/sqlgrey/includes/config.inc.php
blob: a18caa0ead72befca83ee181378212a44aa7b493 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php

/***************************************************
SQLgrey Web Interface
Filename:	config.inc.php
Purpose: 	Configuration database and options
Version: 	1.1.6
****************************************************/

/* Database settings */
$db_db		= "ccwn_sqlgrey";
$db_hostname	= "database";
$db_user	= "sqlgrey";
$db_pass	= "YfDWm3PzTR35QWuD";
$db_type	= "mysql";	// mysql or pg (pg=postgress)

/* Set close_btn to 'yes' to enable the close button in index.php (main menu)
   the button action = ../ which could be a security issue
   default = no
*/
$close_btn	= "no";

/* Set no_millisecs to 'no' if your server's dbase shows milliseconds
   and you do want these to be displayed - this will take two lines per entry.
   Also set this to 'no' if you encounter problems with displaying the timestamps
   ('no' used to be the default and leaves the date format untouched).
   When set to 'yes' timestamps will be formatted as 'yyyy-mm-dd hh:mm:ss'
   which doubles the amount of visible entries.
   default = yes
*/
$no_millisecs	= "yes";

/* Depending on your PHP version you may have to set default timezone to avoid warnings.
   Remove the comment (//) and change the default to your region.
   See http://www.php.net/manual/en/timezones.php to determine the syntax of your region.
   Examples are: 'America/Los_Angeles', 'Europe/Berlin' etc.
   default = 'UTC'
*/
//date_default_timezone_set('UTC');

?>