Skip to content

Commit f40ec8f

Browse files
committed
restructure into files
1 parent a299423 commit f40ec8f

File tree

4 files changed

+88
-87
lines changed

4 files changed

+88
-87
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ springpw.php
33

44
# unused files
55
/mantis-*/tests
6-
/mantis-*/uploads
6+
/files/uploads
77
/mantis-*/doc
88
/mantis-*/api
99
/mantis-*/admin

files/config/config_inc.php

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?php
2+
# Mantis - a php based bugtracking system
3+
4+
# Copyright (C) 2000 - 2002 Kenzaburo Ito - [email protected]
5+
# Copyright (C) 2002 - 2007 Mantis Team - [email protected]
6+
7+
# Mantis is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 2 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# Mantis is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.
19+
20+
# --------------------------------------------------------
21+
# $Id: config_inc.php.sample,v 1.19.2.2 2007-10-25 17:13:42 giallu Exp $
22+
# --------------------------------------------------------
23+
24+
# This sample file contains the essential files that you MUST
25+
# configure to your specific settings. You may override settings
26+
# from config_defaults_inc.php by assigning new values in this file
27+
28+
# Rename this file to config_inc.php after configuration.
29+
30+
###########################################################################
31+
# CONFIGURATION VARIABLES
32+
###########################################################################
33+
34+
# In general the value OFF means the feature is disabled and ON means the
35+
# feature is enabled. Any other cases will have an explanation.
36+
37+
# Look in http://www.mantisbt.org/manual or config_defaults_inc.php for more
38+
# detailed comments.
39+
40+
# --- database variables ---------
41+
include(dirname( dirname(__FILE__) ) . '/../springpw.php');
42+
43+
44+
# set these values to match your setup
45+
$g_hostname = $spring_dbhost;
46+
$g_db_username = $spring_dbuser;
47+
$g_db_password = $spring_dbpass;
48+
$g_database_name = $spring_dbname_mantis;
49+
$g_db_type = "mysqli";
50+
$g_crypto_master_salt = $mantisbtcryptsalt;
51+
52+
# --- email variables -------------
53+
$g_webmaster_email = '[email protected]';
54+
55+
# the "From: " field in emails
56+
$g_from_email = '[email protected]';
57+
58+
# the return address for bounced mail
59+
$g_return_path_email = '[email protected]';
60+
61+
# --- file upload settings --------
62+
# This is the master setting to disable *all* file uploading functionality
63+
#
64+
# The default value is ON but you must make sure file uploading is enabled
65+
# in PHP as well. You may need to add "file_uploads = TRUE" to your php.ini.
66+
$g_allow_file_upload = ON;
67+
$g_file_upload_method = DISK;
68+
$g_absolute_path_default_upload_folder = realpath(dirname(__FILE__).'/../').'/uploads/';
69+
70+
$g_notify_new_user_created_threshold_min = NOBODY;
71+
72+
$g_allow_anonymous_login = ON;
73+
$g_anonymous_account = 'Anonymous';
74+
75+
# Standard Column Names (i.e. names to choose from):
76+
# selection, edit, id, project_id, reporter_id, handler_id, priority, reproducibility, projection, eta,
77+
# resolution, fixed_in_version, view_state, os, os_build, platform, version, date_submitted, attachment,
78+
# category, sponsorship_total, severity, status, last_updated, summary, bugnotes_count
79+
$g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category','version', 'severity', 'status', 'last_updated', 'summary' );
80+
# disable profiles (platform selection) in reports
81+
$g_enable_profiles = OFF;
82+
# enable (deprecated) news
83+
$g_news_enabled = ON;
84+
$g_max_file_size = 2000000;
85+
$g_default_timezone = "Europe/Berlin";

mantisbt-1.3.20/config/config_inc.php

Lines changed: 0 additions & 85 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../files/config/config_inc.php

mantisbt-1.3.20/uploads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../uploads/
1+
../files/uploads/

0 commit comments

Comments
 (0)