1 <?php 2 3 /*************************************************** 4 SQLgrey Web Interface 5 Filename: config.inc.php 6 Purpose: Configuration of database and options 7 Version: 1.1.8 8 ****************************************************/ 9 10 /* Database settings */ 11 #$db_hostname = "/var/lib/sqlgrey/sqlgrey.db"; // path to dbfile for sqlite 12 $db_hostname = "localhost"; 13 $db_db = "sqlgrey"; 14 $db_user = "greylist"; 15 $db_pass = "greylist"; 16 $db_type = "mysql"; // "mysql", "pg" (postgresql) or experimental "sqlite" 17 18 /* Set close_btn to 'yes' to enable the close button in index.php (main menu) 19 the button action = ../ which could be a security issue 20 default = "no" 21 */ 22 $close_btn = "no"; 23 24 /* Set no_millisecs to 'no' if your server's dbase shows milliseconds 25 and you do want these to be displayed - this will take two lines per entry. 26 Also set this to 'no' if you encounter problems with displaying the timestamps 27 ('no' used to be the default and leaves the date format untouched). 28 When set to 'yes' timestamps will be formatted as 'yyyy-mm-dd hh:mm:ss' 29 which doubles the amount of visible entries. 30 default = "yes" 31 */ 32 $no_millisecs = "yes"; 33 34 /* Depending on your PHP version you may have to set default timezone to avoid warnings. 35 Remove the comment (//) and change the default to your region. 36 See http://www.php.net/manual/en/timezones.php to determine the syntax of your region. 37 Examples are: 'America/Los_Angeles', 'Europe/Berlin' etc. 38 default = 'UTC' 39 */ 40 //date_default_timezone_set('UTC'); 41 42 ?>