"Fossies" - the Fresh Open Source Software Archive

Member "sqlgreywebinterface-1.1.8/includes/config.inc.php" (10 Aug 2015, 1516 Bytes) of package /linux/privat/old/sqlgreywebinterface-1.1.8.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "config.inc.php": 1.1.7_vs_1.1.8.

    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 ?>