1 |
<?php
|
2 |
//$Header: /hl/cvsroots/gpl01/gpl01/webprojs/fboprime/sw/phplib/confighard.inc,v 1.8 2006/08/02 03:48:01 dashley Exp $
|
3 |
//********************************************************************************
|
4 |
//confighard.php--FboPrime FBO "Hard" Configuration
|
5 |
//Copyright (C) 2006 David T. Ashley
|
6 |
//
|
7 |
//This program is free software; you can redistribute it and/or
|
8 |
//modify it under the terms of the GNU General Public License
|
9 |
//as published by the Free Software Foundation; either version 2
|
10 |
//of the License, or (at your option) any later version.
|
11 |
//
|
12 |
//This program 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 this program; if not, write to the Free Software
|
19 |
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
20 |
//********************************************************************************
|
21 |
//This file contains constants that must not be customized, i.e. constants
|
22 |
//where either:
|
23 |
// a)There is no reason for an FBO to want to customize these, or
|
24 |
// b)A change in these constants must be accompanied by a code change.
|
25 |
//
|
26 |
//--------------------------------------------------------------------------------------------------------------
|
27 |
//Database-related constants and variables.
|
28 |
//
|
29 |
//The list of tables in the database. It is imperative that this list be kept current so that there
|
30 |
//are no race conditions (this list is used to lock tables).
|
31 |
//
|
32 |
$CONFIGHARD_DBTABLES_ARRAY = array("loge",
|
33 |
"resv",
|
34 |
"rscs",
|
35 |
"sess",
|
36 |
"usrs");
|
37 |
//
|
38 |
//--------------------------------------------------------------------------------------------------------------
|
39 |
//Date calculation minimums and maximums.
|
40 |
//
|
41 |
define("CONFIGHARD_DATEFUNC_MINYEAR", 1700); //The first year for which the scheduler will operate or for
|
42 |
//which date calculations may be performed.
|
43 |
define("CONFIGHARD_DATEFUNC_MAXYEAR", 2300); //One past the last year for which the scheduler will operate
|
44 |
//or for which date calculations will be performed. This is
|
45 |
//tested in a "<" sense (hence the "one past").
|
46 |
define("CONFIGHARD_DATEFUNC_EPOCH_DOW", 5); //January 1, 1700 was a Friday. This is used for subsequent
|
47 |
//modulo arithmetic.
|
48 |
//--------------------------------------------------------------------------------------------------------------
|
49 |
//Home page of the FBO-Prime software (the open-source project). This may change over time ...
|
50 |
define("CONFIGHARD_FBOPRIME_HOME_PAGE_URL", "http://fboprime.e3ft.com");
|
51 |
//
|
52 |
//--------------------------------------------------------------------------------------------------------------
|
53 |
//--------------------------------------------------------------------------------
|
54 |
//End of $RCSfile: confighard.inc,v $.
|
55 |
//--------------------------------------------------------------------------------
|
56 |
?>
|