-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfiguration.php
More file actions
106 lines (97 loc) · 3.17 KB
/
Copy pathconfiguration.php
File metadata and controls
106 lines (97 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?php
/***
* INTEGRATED FLEET MANAGEMENT SYSTEM
* OBSIDIAN FLEET
* http://www.obsidianfleet.net/ifs/
*
* Developer: Frank Anon
* fanon@obsidianfleet.net
*
* Updated By: Nolan
* john.pbem@gmail.com
*
* Version: 1.16n (Nolan Ed.)
* Release Date: June 3, 2004
* Patch 1.13n: December 2009
* Patch 1.16n: March 2014
*
* Copyright (C) 2003-2004 Frank Anon for Obsidian Fleet RPG
* Distributed under the terms of the GNU General Public License
* See doc/LICENSE for details
*
* This file contains code from Mambo Site Server 4.0.12
* Copyright (C) 2000 - 2002 Miro International Pty Ltd
*
* Date: 6/03/04
* Comments: Configuration variables
*
* 25/03/2014 Added variable checks to remove some basic warnings
*
* See CHANGELOG for patch details
*
***/
/********************
* mySQL settings *
********************/
$host = 'localhost'; // mySQL server
/* Feel free to change the following prefixes. The install script reads this
config file, so you don't need to worry about the defaults. */
$mpre = 'www_'; // prefix for webpage-related tables
$spre = 'ifs_'; // prefix for simm-related tables
$sdb = 'sdb_'; // prefix for shipdb tables
$user = 'username'; // mySQL username
$password = 'password'; // mySQL password
$db = 'ifs'; // mySQL database
/********************
* Email config *
********************/
// The "from" address of IFS-generated email
$emailfrom = "IFS Mail <user@domain.com>";
// The webmaster's email address
$webmasteremail = "user@domain.com";
/********************
* Misc Settings *
********************/
$maxchars = "5"; // Max. number of characters per player
$fleetname = 'My Fleet'; // Name of the fleet
$live_site = 'http://www.whatever.com'; // URL to your site
$fleetdesc = 'This text will appear in the bottom section of your front page, and is generally used to describe your fleet.';
$fleetbanner = 'images/example-banner.jpg'; //
// Legacy settings from the Mambo config file. Dunno how important they are
// Path settings
$base_path = '/path/to/ifs/';
//Shouldn't have to adjust below
$pdf_path = $base_path . 'pdf/';
$image_path = $base_path . 'images/stories';
$sitename = $fleetname;
$col = 3;
$row = 3;
if (isset($directory) && $directory !='uploadfiles'){
$title[0] = 'Story Images';
$dir[0]=$base_path . 'images/stories';
$picurl[0]=$live_site . '/images/stories/';
$tndir[0]=$live_site . '/images/stories/';
} else {
$title[0]='Uploaded File Images';
$dir[0]=$base_path . 'uploadfiles/$Itemid';
$picurl[0]=$live_site . '/uploadfiles/$Itemid';
$tndir[0]=$live_site . '/uploadfiles/$Itemid';
}
/********************
* Various IDs *
********************/
// you shouldn't need to touch this unless you've been playing with the db
define ("UNASSIGNED_SHIP", "1");
define ("TRANSFER_SHIP", "2");
define ("DELETED_SHIP", "3");
define ("FSS_SHIP", "4");
define ("PENDING_RANK", "1");
/********************
* Constants *
********************/
// you shouldn't need to touch these, either. In fact, don't. =)
define ("email-from", $emailfrom);
define ("fleetname", $fleetname);
define ("webmasteremail", $webmasteremail);
define ("live_site", $live_site);
?>