D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
var
/
softaculous
/
maiancart
/
Filename :
connect.php
back
Copy
<?php /*============================================================================================== DATABASE CONNECTION PARAMETERS Enter your database connection parameters below. ================================================================================================ DO NOT edit the values in capitals, these are system constants. Edit the values on the right ONLY. Examples: define('DB_HOST', 'localhost'); define('DB_USER', 'db_user'); Important: The prefix is for people with only a single database. If you aren`t bothered about the prefix, do NOT comment it out. Leave it blank if no prefix is required. ================================================================================================*/ define('DB_HOST', '[[softdbhost]]'); define('DB_USER', '[[softdbuser]]'); define('DB_PASS', '[[softdbpass]]'); define('DB_NAME', '[[softdb]]'); define('DB_PREFIX', '[[dbprefix]]'); /*============================================================================================================ MYSQL CHARACTER SET =================== For more info visit: http://dev.mysql.com/doc/refman/5.0/en/charset.html utf8 should be fine in most cases. ============================================================================================================*/ define('DB_CHAR_SET', 'utf8'); /*============================================================================================================ MYSQL LOCALE ============ Specify the locale for your database. Where date_format is used to convert dates, this will convert the date into your own locale. If you aren`t sure, leave as is. For more info visit: http://dev.mysql.com/doc/refman/5.0/en/locale-support.html (MySQL5) http://dev.mysql.com/doc/refman/4.1/en/locale-support.html (MySQL4) Examples: define('DB_LOCALE', 'en_US'); = English/United States define('DB_LOCALE', 'en_AU'); = English/Australia define('DB_LOCALE', 'fi_FI'); = Finnish/Finland ============================================================================================================*/ define('DB_LOCALE', 'en_GB'); /*============================================================================================================ MYSQL TIMEZONE ============== For more info visit: https://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html This should not be changed unless you have issues where MySQL date filtering isn`t returning the expected results. This offset should correspond to the timezone set in your settings. This can be totally deactivated by entering a blank value. ============================================================================================================*/ define('DB_TIMEZONE', '+00:00'); /*============================================================================================================ SECRET KEY / SALT ================== Specify your own unique secret key. This is for security and helps to add an additional layer of security to cookies, session cookies, database connection parameters and login passwords. The longer and more complex the better. This should ideally be a mix of random numbers, letters and special characters. Optionally you can use the MSWorld secret key service to generate a random key: https://www.maianscriptworld.co.uk/services/keys/ [!] You can change this at any point in time to invalidate all existing login credentials (if applicable). ============================================================================================================*/ define('SECRET_KEY', '[[SECRET_KEY]]'); /*============================================================================================================ MYSQL ERRORS ============ By default MySQL errors are NOT shown onscreen. This can be a security issue as it reveals server paths and sensitive data to visitors. If you are sure the system is working fine, this value should be set to 0 to disable mysql errors. If set to 0, specify friendly message in MYSQL_DEFAULT_ERROR. Note: HTML may be used in the default error, but apostrophes MUST be escaped with a backslash. ie: \' ============================================================================================================*/ define('ENABLE_MYSQL_ERRORS', 0); define('MYSQL_DEFAULT_ERROR', 'Database Error - Check Back Later (If you are the site developer, enable "ENABLE_MYSQL_ERRORS" in the "control/connect.php" file)'); ?>