Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../var/softacul.../zenario
File: zenario_siteconfig.php
<?php
[0] Fix | Delete
// This file should be called zenario_siteconfig.php and located in Zenario's home directory.
[1] Fix | Delete
[2] Fix | Delete
/////////////////////////////
[3] Fix | Delete
// MySQL database settings //
[4] Fix | Delete
/////////////////////////////
[5] Fix | Delete
[6] Fix | Delete
//Database host (often localhost):
[7] Fix | Delete
define('DBHOST', '[[softdbhost]]');
[8] Fix | Delete
//Database name:
[9] Fix | Delete
define('DBNAME', '[[softdb]]');
[10] Fix | Delete
//MySQL database username:
[11] Fix | Delete
define('DBUSER', '[[softdbuser]]');
[12] Fix | Delete
//Database password:
[13] Fix | Delete
define('DBPASS', '[[softdbpass]]');
[14] Fix | Delete
//Database port number:
[15] Fix | Delete
define('DBPORT', '');
[16] Fix | Delete
//Prefix for all table names (to keep them distinct from other apps):
[17] Fix | Delete
define('DB_PREFIX', '[[dbprefix]]');
[18] Fix | Delete
//Use MySQL in "strict" mode:
[19] Fix | Delete
define('DEBUG_USE_STRICT_MODE', true);
[20] Fix | Delete
[21] Fix | Delete
[22] Fix | Delete
/////////////////////////////////////////
[23] Fix | Delete
// Restore policy for database backups //
[24] Fix | Delete
/////////////////////////////////////////
[25] Fix | Delete
[26] Fix | Delete
define('RESTORE_POLICY', 'always');
[27] Fix | Delete
// Always allow database backups to be restored using Organizer.
[28] Fix | Delete
[29] Fix | Delete
//define('RESTORE_POLICY', 'never');
[30] Fix | Delete
// Disable the ability to restore database backups using Organizer.
[31] Fix | Delete
[32] Fix | Delete
//define('RESTORE_POLICY', '2012-12-21');
[33] Fix | Delete
// Allow database backups to be restored for one day. (Set this to the current date to use this option.)
[34] Fix | Delete
[35] Fix | Delete
[36] Fix | Delete
//////////////////////////////////////////////////////////
[37] Fix | Delete
// MySQL database settings for multi-site adminstrators //
[38] Fix | Delete
//////////////////////////////////////////////////////////
[39] Fix | Delete
[40] Fix | Delete
// These optional parameters allow you to specify a different installation
[41] Fix | Delete
// of Zenario and log in to this installation with those administrator accounts:
[42] Fix | Delete
//define('DBHOST_GLOBAL', 'localhost');
[43] Fix | Delete
//define('DBNAME_GLOBAL', '');
[44] Fix | Delete
//define('DBUSER_GLOBAL', '');
[45] Fix | Delete
//define('DBPASS_GLOBAL', '');
[46] Fix | Delete
//define('DBPORT_GLOBAL', '');
[47] Fix | Delete
//define('DB_PREFIX_GLOBAL', 'z_');
[48] Fix | Delete
[49] Fix | Delete
[50] Fix | Delete
///////////////////////////
[51] Fix | Delete
// Support email address //
[52] Fix | Delete
///////////////////////////
[53] Fix | Delete
[54] Fix | Delete
// Send system errors to the following email address:
[55] Fix | Delete
define('EMAIL_ADDRESS_GLOBAL_SUPPORT', '[[admin_email]]');
[56] Fix | Delete
[57] Fix | Delete
// Send an email to the address above if there is a database error:
[58] Fix | Delete
define('DEBUG_SEND_EMAIL', true);
[59] Fix | Delete
[60] Fix | Delete
// Note that other email-related settings can be found under
[61] Fix | Delete
// "Configuration -> Site settings -> Email" in Organizer
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
/////////////////////////////
[65] Fix | Delete
// Directory and file name //
[66] Fix | Delete
/////////////////////////////
[67] Fix | Delete
[68] Fix | Delete
// If you are running Zenario in a subdirectory please enter this here.
[69] Fix | Delete
// If specifed, it MUST start with a / and must end in a /
[70] Fix | Delete
// If you are not running in a subdirectory please just enter a /
[71] Fix | Delete
define('SUBDIRECTORY', '[[relativeurl]]/');
[72] Fix | Delete
[73] Fix | Delete
// The filename of the index file in the root directory.
[74] Fix | Delete
// In most cases you don't need to change this.
[75] Fix | Delete
define('DIRECTORY_INDEX_FILENAME', 'index.php');
[76] Fix | Delete
[77] Fix | Delete
[78] Fix | Delete
//////////////////////////
[79] Fix | Delete
// Cookies and Sessions //
[80] Fix | Delete
//////////////////////////
[81] Fix | Delete
[82] Fix | Delete
// If you are using multiple sub-domains for your site, and this value is defined,
[83] Fix | Delete
// then cookies set in the browser, an administrator's login, and an extranet user's
[84] Fix | Delete
// login will persist across the domain and any sub-domains.
[85] Fix | Delete
//
[86] Fix | Delete
// For example, a setting of 'example.com' will persist cookies across all sites at
[87] Fix | Delete
// *.example.com where '*' means any sub-domain, as well as example.com itself.
[88] Fix | Delete
//
[89] Fix | Delete
// You should use this if you use a sub-domains to denote languages, such as
[90] Fix | Delete
// example.com, en.example.com, de.example.com and fr.example.com.
[91] Fix | Delete
// In that case, enter 'example.com' below.
[92] Fix | Delete
//
[93] Fix | Delete
// Leave this blank if you're not using sub-domains.
[94] Fix | Delete
define('COOKIE_DOMAIN', '');
[95] Fix | Delete
[96] Fix | Delete
// The length of time (in seconds) that the cookie consent, "remember me" and
[97] Fix | Delete
// "Log me in automatically" options last.
[98] Fix | Delete
// The default value if not set is 100 days.
[99] Fix | Delete
define('COOKIE_TIMEOUT', 8640000);
[100] Fix | Delete
[101] Fix | Delete
[102] Fix | Delete
// The length of time (in seconds) to persist the login of administrators and extranet users.
[103] Fix | Delete
//
[104] Fix | Delete
// If not active on the site for this amount of time, they will be logged out.
[105] Fix | Delete
// If session.cookie_lifetime and/or session.gc_maxlifetime settings in php.ini file are
[106] Fix | Delete
// shorter, they will take precedence.
[107] Fix | Delete
//
[108] Fix | Delete
// If set to 0 then they will be logged out when quitting/restarting, but will otherwise
[109] Fix | Delete
// remain logged in until session.cookie_lifetime and/or session.gc_maxlifetime.
[110] Fix | Delete
//
[111] Fix | Delete
// We recommend setting this to 1800 (30 minutes).
[112] Fix | Delete
define('SESSION_TIMEOUT', 1800);
[113] Fix | Delete
[114] Fix | Delete
[115] Fix | Delete
/////////////////////
[116] Fix | Delete
// Error reporting //
[117] Fix | Delete
/////////////////////
[118] Fix | Delete
[119] Fix | Delete
//define('ERROR_REPORTING_LEVEL', (E_ALL | E_NOTICE | E_STRICT));
[120] Fix | Delete
// This shows every type of error.
[121] Fix | Delete
// We recommend using this level of reporting on development or staging sites that are not live.
[122] Fix | Delete
[123] Fix | Delete
define('ERROR_REPORTING_LEVEL', (E_ALL & ~E_NOTICE & ~E_STRICT));
[124] Fix | Delete
// This shows all errors except notices and strict errors.
[125] Fix | Delete
// We recommend using this level of reporting on live/production sites.
[126] Fix | Delete
[127] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function