-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.php
More file actions
60 lines (56 loc) · 3.5 KB
/
config.php
File metadata and controls
60 lines (56 loc) · 3.5 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
<?php
/**
* Main configuration file required by all other files in PGV
*
* The variables in this file are the main configuration variable for the site
* Gedcom specific configuration variables are stored in the config_gedcom.php file.
* Site administrators may edit these settings online through the editconfig.php file.
*
* phpGedView: Genealogy Viewer
* Copyright (C) 2002 to 2003 John Finlay and Others
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* @package PhpGedView
* @subpackage Admin
* @see editconfig.php
* @version $Id$
*/
if (preg_match("/\Wconfig.php/", $_SERVER["SCRIPT_NAME"])>0) {
print "Got your hand caught in the cookie jar.";
exit;
}
$INDEX_DIRECTORY = "./index/"; //-- Readable and Writeable Directory to store index files (include the trailing "/")
$PGV_SIMPLE_MAIL = true; //-- allow admins to set this so that they can override the name <emailaddress> combination in the emails
$USE_REGISTRATION_MODULE = true; //-- turn on the user self registration module
$REQUIRE_ADMIN_AUTH_REGISTRATION = true; //-- require an admin user to authorize a new registration before a user can login
$ALLOW_USER_THEMES = true; //-- Allow user to set their own theme
$ALLOW_CHANGE_GEDCOM = true; //-- A true value will provide a link in the footer to allow users to change the gedcom they are viewing
$LOGFILE_CREATE = "monthly"; //-- set how often new log files are created, "none" turns logs off, "daily", "weekly", "monthly", "yearly"
$LOG_LANG_ERROR = false; //-- Set if non-existing language variables should be written to a logfile
$PGV_SESSION_SAVE_PATH = ""; //-- Path to save PHP session Files -- DO NOT MODIFY unless you know what you are doing
//-- leaving it blank will use the default path for your php configuration as found in php.ini
$PGV_SESSION_TIME = "7200"; //-- number of seconds to wait before an inactive session times out
$SERVER_URL = "http:/engineering/phpGedView4_1_5/"; //-- the URL used to access this server
$LOGIN_URL = ""; //-- the URL to use to go to the login page, use this value if you want to redirect to a different site when users login, useful for switching from http to https
$MAX_VIEWS = "20"; //-- the maximum number of page views per xx seconds per session
$MAX_VIEW_TIME = "1"; //-- the number of seconds in which the maximum number of views must not be reached
$PGV_MEMORY_LIMIT = "32M"; //-- the maximum amount of memory that PGV should be allowed to consume
$ALLOW_REMEMBER_ME = false; //-- whether the users have the option of being remembered on the current computer
$CONFIG_VERSION = "4.0"; //-- the version this config file goes to
$DIRECTORY_MODE = "ldap"; //-- User info stored in db or ldap directory
$COMMIT_COMMAND = ""; //-- Choices are empty string, cvs or svn
$CONFIGURED = true;
//require_once("includes/session.php");