[ Index ]

PHP Cross Reference of Eventum

title

Body

[close]

/setup/ -> config.php (source)

   1  <?php
   2  /* vim: set expandtab tabstop=4 shiftwidth=4 encoding=utf-8: */
   3  // +----------------------------------------------------------------------+
   4  // | Eventum - Issue Tracking System                                      |
   5  // +----------------------------------------------------------------------+
   6  // | Copyright (c) 2003, 2004, 2005, 2006, 2007 MySQL AB                              |
   7  // |                                                                      |
   8  // | This program is free software; you can redistribute it and/or modify |
   9  // | it under the terms of the GNU General Public License as published by |
  10  // | the Free Software Foundation; either version 2 of the License, or    |
  11  // | (at your option) any later version.                                  |
  12  // |                                                                      |
  13  // | This program is distributed in the hope that it will be useful,      |
  14  // | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
  15  // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        |
  16  // | GNU General Public License for more details.                         |
  17  // |                                                                      |
  18  // | You should have received a copy of the GNU General Public License    |
  19  // | along with this program; if not, write to:                           |
  20  // |                                                                      |
  21  // | Free Software Foundation, Inc.                                       |
  22  // | 59 Temple Place - Suite 330                                          |
  23  // | Boston, MA 02111-1307, USA.                                          |
  24  // +----------------------------------------------------------------------+
  25  // | Authors: Bryan Alsdorf <bryan@mysql.com>                             |
  26  // +----------------------------------------------------------------------+
  27  
  28  // Contains constants defined for this specific eventum installation.
  29  // This file will not be overwritten when upgrading Eventum
  30  
  31  ini_set('display_errors', 0);
  32  error_reporting(0);
  33  
  34  // definitions of SQL variables
  35  define('APP_SQL_DBTYPE', 'mysql');
  36  define('APP_SQL_DBHOST', '%{APP_SQL_DBHOST}%');
  37  define('APP_SQL_DBPORT', 3306);
  38  define('APP_SQL_DBNAME', '%{APP_SQL_DBNAME}%');
  39  define('APP_SQL_DBUSER', '%{APP_SQL_DBUSER}%');
  40  define('APP_SQL_DBPASS', '%{APP_SQL_DBPASS}%');
  41  
  42  define('APP_DEFAULT_DB', APP_SQL_DBNAME);
  43  define('APP_TABLE_PREFIX', '%{APP_TABLE_PREFIX}%');
  44  
  45  define('APP_NAME', 'Eventum');
  46  define('APP_SHORT_NAME', APP_NAME); // used in the subject of notification emails
  47  define('APP_HOSTNAME', '%{APP_HOSTNAME}%');
  48  define('APP_SITE_NAME', APP_NAME);
  49  define('APP_RELATIVE_URL', '%{APP_RELATIVE_URL}%');
  50  define('APP_BASE_URL', '%{PROTOCOL_TYPE}%' . APP_HOSTNAME . APP_RELATIVE_URL);
  51  define('APP_COOKIE_URL', APP_RELATIVE_URL);
  52  define('APP_COOKIE_DOMAIN', null);
  53  define('APP_COOKIE', 'eventum');
  54  define('APP_COOKIE_EXPIRE', time() + (60 * 60 * 8));
  55  define('APP_PROJECT_COOKIE', 'eventum_project');
  56  define('APP_PROJECT_COOKIE_EXPIRE', time() + (60 * 60 * 24));
  57  
  58  define('APP_DEFAULT_PAGER_SIZE', 5);
  59  define('APP_DEFAULT_REFRESH_RATE', 5); // in minutes
  60  
  61  // new users will use these for default preferences
  62  define('APP_DEFAULT_ASSIGNED_EMAILS', 1);// if the user will recieve an email when an issue is assigned to him
  63  define('APP_DEFAULT_NEW_EMAILS', 0);// if the user will recieve an email when ANY issue is created
  64  
  65  define('APP_CHARSET', '%{CHARSET}%');
  66  
  67  // define colors used by eventum
  68  define('APP_CELL_COLOR', '#255282');
  69  define('APP_LIGHT_COLOR', '#DDDDDD');
  70  define('APP_MIDDLE_COLOR', '#CACACA');
  71  define('APP_DARK_COLOR', '#CACACA');
  72  define('APP_CYCLE_COLORS', '#DDDDDD,#CACACA');
  73  define('APP_INTERNAL_COLOR', '#9C494B');
  74  
  75  // define the user_id of system user
  76  define('APP_SYSTEM_USER_ID', 1);
  77  
  78  // define the type of password hashing to use (MD5, MD5-64)
  79  define('APP_HASH_TYPE', 'MD5');
  80  
  81  // if full text searching is enabled
  82  define('APP_ENABLE_FULLTEXT', '%{APP_ENABLE_FULLTEXT}%');
  83  
  84  define('APP_DEFAULT_LOCALE', 'en_US');
  85  
  86  // 'native' or 'php'. Try native first, if you experience strange issues
  87  // such as language switching randomly, try php
  88  define('APP_GETTEXT_MODE', 'native');


Generated: Wed Dec 19 21:21:33 2007 Cross-referenced by PHPXref 0.7