2 /* vim: set expandtab tabstop=4 shiftwidth=4: */
3 // +----------------------------------------------------------------------+
4 // | Eventum - Issue Tracking System |
5 // +----------------------------------------------------------------------+
6 // | Copyright (c) 2003, 2004, 2005 MySQL AB |
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. |
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. |
18 // | You should have received a copy of the GNU General Public License |
19 // | along with this program; if not, write to: |
21 // | Free Software Foundation, Inc. |
22 // | 59 Temple Place - Suite 330 |
23 // | Boston, MA 02111-1307, USA. |
24 // +----------------------------------------------------------------------+
25 // | Authors: João Prado Maia <jpm@mysql.com> |
26 // +----------------------------------------------------------------------+
31 // definitions of SQL variables
32 define("APP_SQL_DBTYPE", "mysql");
33 define("APP_SQL_DBHOST", "%{APP_SQL_DBHOST}%");
34 define("APP_SQL_DBPORT", 3306);
35 define("APP_SQL_DBNAME", "%{APP_SQL_DBNAME}%");
36 define("APP_SQL_DBUSER", "%{APP_SQL_DBUSER}%");
37 define("APP_SQL_DBPASS", "%{APP_SQL_DBPASS}%");
39 define("APP_DEFAULT_DB", APP_SQL_DBNAME);
40 define("APP_TABLE_PREFIX", "%{APP_TABLE_PREFIX}%");
42 define("APP_NAME", "Eventum");
43 define("APP_SHORT_NAME", APP_NAME); // used in the subject of notification emails
44 define("APP_URL", "http://www.mysql.com/products/eventum/");
45 define("APP_HOSTNAME", "%{APP_HOSTNAME}%");
46 define("APP_SITE_NAME", APP_NAME);
47 define("APP_RELATIVE_URL", "%{APP_RELATIVE_URL}%");
48 define("APP_BASE_URL", "%{PROTOCOL_TYPE}%" . APP_HOSTNAME . APP_RELATIVE_URL);
49 define("APP_COOKIE", "eventum");
50 define("APP_COOKIE_EXPIRE", time() + (60 * 60 * 8));
51 define("APP_PROJECT_COOKIE", "eventum_project");
52 define("APP_PROJECT_COOKIE_EXPIRE", time() + (60 * 60 * 24));
54 define("APP_DEFAULT_PAGER_SIZE", 5);
55 define("APP_DEFAULT_REFRESH_RATE", 5); // in minutes
57 define("APP_CHARSET", "ISO-8859-1");
59 // define colors used by eventum
60 define("APP_CELL_COLOR", "#255282");
61 define("APP_LIGHT_COLOR", "#DDDDDD");
62 define("APP_MIDDLE_COLOR", "#CACACA");
63 define("APP_DARK_COLOR", "#CACACA");
64 define("APP_CYCLE_COLORS", "#DDDDDD,#CACACA");
65 define("APP_INTERNAL_COLOR", "#9C494B");
67 define("APP_BENCHMARK", false);
68 // if full text searching is enabled
69 define("APP_ENABLE_FULLTEXT", false);