summaryrefslogtreecommitdiff
path: root/sqlgrey/includes/config.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'sqlgrey/includes/config.inc.php')
-rw-r--r--sqlgrey/includes/config.inc.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/sqlgrey/includes/config.inc.php b/sqlgrey/includes/config.inc.php
new file mode 100644
index 0000000..a18caa0
--- /dev/null
+++ b/sqlgrey/includes/config.inc.php
@@ -0,0 +1,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');
+
+?>