Redirect was debugged as well...
[mailer.git] / inc / config.php
index 6c92a9142006c9669e8614f901c4ba1e1d79b79c..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,173 +1,3 @@
 <?php
-/************************************************************************
- * MXChange v0.2.1                                    Start: 08/25/2003 *
- * ===============                              Last change: 04/16/2004 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : config.php                                       *
- * -------------------------------------------------------------------- *
- * Short description : Your configuration data (MySQL)                  *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Ihre Konfigurationsdaten (MySQL)                 *
- * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *
- * For more information visit: http://www.mxchange.org                  *
- *                                                                      *
- * 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., 51 Franklin St, Fifth Floor, Boston,               *
- * MA  02110-1301  USA                                                  *
- ************************************************************************/
-
-// Some security stuff...
-if (!defined('__SECURITY'))
-{
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
-       require($INC);
-}
-
-/************************************************************************
- *      PLEASE DO NOT EDIT THE COMMENTS! install.php NEEDS THEM!        *
- ************************************************************************/
-
-if (function_exists('date_default_timezone_set')) {
-       // CFG: TIME-ZONE
-       @date_default_timezone_set("Europe/Berlin");
-}
-
-// Most of these constants are old and deprecated. We don't use them either.
-// You can still feel free to use them in your templates / scripts if you like :-)
-define('VERSION', "v0.2.1");
-define('AUTHOR' , "Roland H&auml;der");
-define('TITLE', "MXChange - Mail Exchange");
-define('COPY', "&copy; 2003 - 2008, by Roland H&auml;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... (patched by "Stelzi" aka. profi-concept, thanks again!)
-$URL = "http://".getenv('SERVER_NAME') . str_replace("\\", "/", dirname($_SERVER['PHP_SELF']));
-while (substr($URL, -1, 1) == "/") { $URL = substr($URL, 0, -1); }
-$PATH = str_replace("\\", "/", 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);
-
-// CFG: DEBUG-MAIL (turn this on if you need to debug mails, only affects if DEBUG_MODE is true)
-//define('DEBUG_MAIL', true);
-
-// CFG: DEBUG-RESET (comment in to test daily reset, comment out to not test)
-//define('DEBUG_RESET', true);
-
-// CFG: DEBUG-MONTHLY (comment in to test monthly reset, comment out to not test)
-//define('DEBUG_MONTHLY', true);
-
-// CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
-//define('DEBUG_WEEKLY', true);
-
-// 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: TABLE-TYPE
-define('_TABLE_TYPE', "MyISAM");
-
-// 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(constant('PATH')."inc/mysql-connect.php");
-
-//
+// @DEPRECATED
 ?>