Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../var/softacul.../gedview
File: config.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Main configuration file required by all other files in PGV
[2] Fix | Delete
*
[3] Fix | Delete
* The variables in this file are the main configuration variable for the site
[4] Fix | Delete
* Gedcom specific configuration variables are stored in the config_gedcom.php file.
[5] Fix | Delete
* Site administrators may edit these settings online through the install.php file.
[6] Fix | Delete
*
[7] Fix | Delete
* phpGedView: Genealogy Viewer
[8] Fix | Delete
* Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
[9] Fix | Delete
*
[10] Fix | Delete
* This program is free software; you can redistribute it and/or modify
[11] Fix | Delete
* it under the terms of the GNU General Public License as published by
[12] Fix | Delete
* the Free Software Foundation; either version 2 of the License, or
[13] Fix | Delete
* (at your option) any later version.
[14] Fix | Delete
*
[15] Fix | Delete
* This program is distributed in the hope that it will be useful,
[16] Fix | Delete
* but WITHOUT ANY WARRANTY; without even the implied warranty of
[17] Fix | Delete
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
[18] Fix | Delete
* GNU General Public License for more details.
[19] Fix | Delete
*
[20] Fix | Delete
* You should have received a copy of the GNU General Public License
[21] Fix | Delete
* along with this program; if not, write to the Free Software
[22] Fix | Delete
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
[23] Fix | Delete
*
[24] Fix | Delete
* @package PhpGedView
[25] Fix | Delete
* @subpackage Admin
[26] Fix | Delete
* @see install.php
[27] Fix | Delete
* @version $Id: config.dist 7054 2011-08-22 19:30:30Z canajun2eh $
[28] Fix | Delete
*/
[29] Fix | Delete
[30] Fix | Delete
if (preg_match('/\Wconfig.php/', $_SERVER['SCRIPT_NAME'])>0) {
[31] Fix | Delete
print 'Got your hand caught in the cookie jar.';
[32] Fix | Delete
exit;
[33] Fix | Delete
}
[34] Fix | Delete
[35] Fix | Delete
$DBTYPE='mysql'; //-- type of database to connect when using the PHP/PDO
[36] Fix | Delete
$DBHOST='[[softdbhost]]'; //-- Host where MySQL database is kept
[37] Fix | Delete
$DBPORT=''; //-- Database port, leave blank for default
[38] Fix | Delete
$DBUSER='[[softdbuser]]'; //-- MySQL database User Name
[39] Fix | Delete
$DBPASS='[[softdbpass]]'; //-- MySQL database User Password
[40] Fix | Delete
$DBNAME='[[softdb]]'; //-- The MySQL database name where you want PHPGedView to build its tables
[41] Fix | Delete
$DB_UTF8_COLLATION=false; //-- Use the database to sort/collation UTF8 text
[42] Fix | Delete
$TBLPREFIX='[[dbprefix]]'; //-- prefix to include on table names
[43] Fix | Delete
$INDEX_DIRECTORY='./index/'; //-- Readable and Writeable Directory to store index files (include the trailing "/")
[44] Fix | Delete
$AUTHENTICATION_MODULE = "authentication.php"; //-- File that contains authentication functions
[45] Fix | Delete
$PGV_STORE_MESSAGES=true; //-- allow messages sent to users to be stored in the PGV system
[46] Fix | Delete
$PGV_SIMPLE_MAIL=true; //-- allow admins to set this so that they can override the name <emailaddress> combination in the emails
[47] Fix | Delete
$USE_REGISTRATION_MODULE=true; //-- turn on the user self registration module
[48] Fix | Delete
$REQUIRE_ADMIN_AUTH_REGISTRATION=true; //-- require an admin user to authorize a new registration before a user can login
[49] Fix | Delete
$ALLOW_USER_THEMES=true; //-- Allow user to set their own theme
[50] Fix | Delete
$ALLOW_CHANGE_GEDCOM=true; //-- A true value will provide a link in the footer to allow users to change the gedcom they are viewing
[51] Fix | Delete
$LOGFILE_CREATE='monthly'; //-- set how often new log files are created, "none" turns logs off, "daily", "weekly", "monthly", "yearly"
[52] Fix | Delete
$LOG_LANG_ERROR = false; //-- Set if non-existing language variables should be written to a logfile
[53] Fix | Delete
$PGV_SESSION_SAVE_PATH=''; //-- Path to save PHP session Files -- DO NOT MODIFY unless you know what you are doing
[54] Fix | Delete
//-- leaving it blank will use the default path for your php configuration as found in php.ini
[55] Fix | Delete
$PGV_SESSION_TIME='7200'; //-- number of seconds to wait before an inactive session times out
[56] Fix | Delete
$SERVER_URL=''; //-- the URL used to access this server
[57] Fix | Delete
$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
[58] Fix | Delete
$MAX_VIEWS='20'; //-- the maximum number of page views per xx seconds per session
[59] Fix | Delete
$MAX_VIEW_TIME='1'; //-- the number of seconds in which the maximum number of views must not be reached
[60] Fix | Delete
$PGV_MEMORY_LIMIT='32M'; //-- the maximum amount of memory that PGV should be allowed to consume
[61] Fix | Delete
$COMMIT_COMMAND=''; //-- Choices are empty string, cvs or svn
[62] Fix | Delete
$PGV_SMTP_ACTIVE=false; //-- Enable to use of SMTP to send external emails
[63] Fix | Delete
$PGV_SMTP_HOST=''; //-- The domain name of the SMTP smarthost
[64] Fix | Delete
$PGV_SMTP_HELO=''; //-- The local SMTP domain name
[65] Fix | Delete
$PGV_SMTP_PORT='25'; //-- The port number talk to the SMTP smarthost
[66] Fix | Delete
$PGV_SMTP_AUTH=false; //-- Enable the use of SMTP authorization
[67] Fix | Delete
$PGV_SMTP_AUTH_USER=''; //-- User name for SMTP authorization
[68] Fix | Delete
$PGV_SMTP_AUTH_PASS=''; //-- Password for SMTP authorization
[69] Fix | Delete
$PGV_SMTP_SSL='none'; //-- Use SSL for SMTP authorization
[70] Fix | Delete
$PGV_SMTP_FROM_NAME=''; //-- Sender name
[71] Fix | Delete
$USE_GOOGLE_ANALYTICS=false; //-- Should this site link to Google Analytics server?
[72] Fix | Delete
$PGV_GOOGLE_ANALYTICS=''; //-- This PGV site's Google Analytics account
[73] Fix | Delete
$USE_PIWIK_ANALYTICS=false; //-- Should this site link to Piwik Analytics server?
[74] Fix | Delete
$PGV_PIWIK_URL=''; //-- URL to Piwik Analytics server
[75] Fix | Delete
$PGV_PIWIK_SITE=''; //-- This PGV site's site number on Piwik Analytics server
[76] Fix | Delete
$USE_CLUSTRMAPS_ANALYTICS=false; //-- Should this site link to ClustrMaps Analytics server?
[77] Fix | Delete
$PGV_CLUSTRMAPS_SITE=''; //-- This PGV site's URL, for use by ClustrMaps Analytics server
[78] Fix | Delete
$PGV_CLUSTRMAPS_SERVER=''; //-- ClustrMaps server number assigned to handle your site's requests
[79] Fix | Delete
[80] Fix | Delete
$CONFIGURED=true;
[81] Fix | Delete
require_once './includes/session.php';
[82] Fix | Delete
[83] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function