From: Roland Häder Date: Thu, 2 Oct 2008 16:39:48 +0000 (+0000) Subject: Missing config.php re-added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a8798885d7a610ff5fc87cbfa36fca9ee7509952;p=mailer.git Missing config.php re-added --- diff --git a/.gitattributes b/.gitattributes index ffa3832341..9b5b302633 100644 --- a/.gitattributes +++ b/.gitattributes @@ -86,6 +86,7 @@ inc/autopurge/purge-tsks.php -text inc/autopurge/purge-unconfirmed.php -text inc/cache/.htaccess -text inc/check-reset.php -text +inc/config.php -text inc/databases.php -text inc/db/.htaccess -text inc/db/lib-mysql3.php -text diff --git a/inc/config.php b/inc/config.php new file mode 100644 index 0000000000..897b03aa86 --- /dev/null +++ b/inc/config.php @@ -0,0 +1,156 @@ +Roland Häder"); + +// CFG: ERROR_REPORTING +@error_reporting(0); + +// CFG: REGISTER-GLOBALS +@import_request_variables(''); + +// CFG: SITE-KEY +define('SITE_KEY', "gg42ny8-4yng23498-mf423igum-mtu248utn42-mf4839gun43"); + +// CFG: DATE-KEY +define('DATE_KEY', date("d-m-Y (l-F-T)", time())); + +// CFG: DEFAULT-LANGUAGE +define('DEFAULT_LANG', "de"); + +// CFG: NULLPASS-WARNING +define('warn_no_pass', true); + +// CFG: WRITE-FOOTER +define('WRITE_FOOTER', true); + +// CFG: OUTPUT-MODE +define('OUTPUT_MODE', "render"); + +// CFG: MAIN_TITLE +define('MAIN_TITLE', "Your mail-exchanger title"); + +// CFG: SLOGAN +define('SLOGAN', "Your cool slogan here"); + +// Auto-detection... +$URL = "http://".getenv('SERVER_NAME').dirname($_SERVER['PHP_SELF']); +while (substr($URL, -1, 1) == "/") { $URL = substr($URL, 0, -1); } +$PATH = substr(dirname(__FILE__), 0, -3); + +// CFG: HOST-URL (without trailing '/' !) +define('URL', $URL); + +// CFG: SERVER-PATH +define('PATH', $PATH); + +// CFG: WEBMASTER +define('WEBMASTER', "you@some-hoster.tld.invalid"); + +// CFG: INSTALLED +define('mxchange_installed', false); + +// CFG: ADMIN-SETUP +define('admin_registered', false); + +// CFG: FRAMESET +define('frameset_active', false); + +// CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!) +define('DEBUG_MODE', false); + +// When we are not installing +if (!defined('mxchange_installing')) define('mxchange_installing', false); + +// Your MySQL data (we don't like M$ SQL ;-) ) +$MySQL = array( + // CFG: MYSQL-HOST + 'host' => "localhost", + // CFG: MYSQL-DBASE + 'dbase' => "db", + // CFG: MYSQL-LOGIN + 'login' => "user", + // CFG: MYSQL-PASSWORD + 'password' => "pass", +); + +// CFG: MYSQL-PREIFX +define('_MYSQL_PREFIX', "mxchange"); + +// CFG: DATABASE-TYPE +define('_DB_TYPE', "mysql3"); + +// Lead-Code data +define('LEAD_CODE_ENABLED', true); +define('LEAD_EXPIRY_TIME' , (30*24*60*60)); // == 30 days + +// SMTP-Subsystem (keep all empty to use legacy mail() command!) +// CFG: SMTP-HOSTNAME +define('SMTP_HOSTNAME', ""); +// CFG: SMTP-USER +define('SMTP_USER' , ""); +// CFG: SMTP-PASSWORD +define('SMTP_PASSWORD', ""); + +// SSL cookies? (enable only if you have SSL, URLs will begin with https://) +define('SSL_COOKIES', false); + +// CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!) +define('ENABLE_BACKLINK', true); + +// Connect to the MySQL database... +require_once(PATH."inc/mysql-connect.php"); + +// +?> diff --git a/inc/databases.php b/inc/databases.php index 99d0c01bbd..e79d6dd0a7 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "435"); +define('CURR_SVN_REVISION', "436"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623);