win32 to unix line delimiters changed
[mailer.git] / 0.2.1 / inc / config.php
index 8a73f23807a695ba0ff55eff0a54e669ac3bfed4..97a49d396e1bb6536232dba013bb55732ebc1a58 100644 (file)
-<?php\r
-/************************************************************************\r
- * MXChange v0.2.1                                    Start: 08/25/2003 *\r
- * ===============                              Last change: 04/16/2004 *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * File              : config.php                                       *\r
- * -------------------------------------------------------------------- *\r
- * Short description : Your configuration data (MySQL)                  *\r
- * -------------------------------------------------------------------- *\r
- * Kurzbeschreibung  : Ihre Konfigurationsdaten (MySQL)                 *\r
- * -------------------------------------------------------------------- *\r
- *                                                                      *\r
- * -------------------------------------------------------------------- *\r
- * Copyright (c) 2003 - 2008 by Roland Haeder                           *\r
- * For more information visit: http://www.mxchange.org                  *\r
- *                                                                      *\r
- * This program is free software; you can redistribute it and/or modify *\r
- * it under the terms of the GNU General Public License as published by *\r
- * the Free Software Foundation; either version 2 of the License, or    *\r
- * (at your option) any later version.                                  *\r
- *                                                                      *\r
- * This program is distributed in the hope that it will be useful,      *\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of       *\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *\r
- * GNU General Public License for more details.                         *\r
- *                                                                      *\r
- * You should have received a copy of the GNU General Public License    *\r
- * along with this program; if not, write to the Free Software          *\r
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *\r
- * MA  02110-1301  USA                                                  *\r
- ************************************************************************/\r
-\r
-// Some security stuff...\r
-if (!defined('__SECURITY'))\r
-{\r
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";\r
-       require($INC);\r
-}\r
-\r
-/************************************************************************\r
- *      PLEASE DO NOT EDIT THE COMMENTS! install.php NEEDS THEM!        *\r
- ************************************************************************/\r
-\r
-if (function_exists('date_default_timezone_set')) {\r
-       // CFG: TIME-ZONE\r
-       @date_default_timezone_set("Europe/Berlin");\r
-}\r
-\r
-// Most of these constants are old and deprecated. We don't use them either.\r
-// You can still feel free to use them in your templates / scripts if you like :-)\r
-define('VERSION', "v0.2.1");\r
-define('AUTHOR' , "Roland H&auml;der");\r
-define('TITLE', "MXChange - Mail Exchange");\r
-define('COPY', "&copy; 2003 - 2008, by <A href=\"http://www.mxchange.org\" target=\"_blank\" rel=\"external\" title=\"{!TITLE!} {!VERSION!}\">Roland H&auml;der</A>");\r
-\r
-// CFG: ERROR_REPORTING\r
-@error_reporting(0);\r
-\r
-// CFG: REGISTER-GLOBALS\r
-@import_request_variables('');\r
-\r
-// CFG: SITE-KEY\r
-define('SITE_KEY', "gg42ny8-4yng23498-mf423igum-mtu248utn42-mf4839gun43");\r
-\r
-// CFG: DATE-KEY\r
-define('DATE_KEY', date("d-m-Y (l-F-T)", time()));\r
-\r
-// CFG: DEFAULT-LANGUAGE\r
-define('DEFAULT_LANG', "de");\r
-\r
-// CFG: NULLPASS-WARNING\r
-define('warn_no_pass', true);\r
-\r
-// CFG: WRITE-FOOTER\r
-define('WRITE_FOOTER', true);\r
-\r
-// CFG: OUTPUT-MODE\r
-define('OUTPUT_MODE', "render");\r
-\r
-// CFG: MAIN_TITLE\r
-define('MAIN_TITLE', "Your mail-exchanger title");\r
-\r
-// CFG: SLOGAN\r
-define('SLOGAN', "Your cool slogan here");\r
-\r
-// Auto-detection...\r
-$URL = "http://".getenv('SERVER_NAME').dirname($_SERVER['PHP_SELF']);\r
-while (substr($URL, -1, 1) == "/") { $URL = substr($URL, 0, -1); }\r
-$PATH = substr(dirname(__FILE__), 0, -3);\r
-\r
-// CFG: HOST-URL (without trailing '/' !)\r
-define('URL', $URL);\r
-\r
-// CFG: SERVER-PATH\r
-define('PATH', $PATH);\r
-\r
-// CFG: WEBMASTER\r
-define('WEBMASTER', "you@some-hoster.tld.invalid");\r
-\r
-// CFG: INSTALLED\r
-define('mxchange_installed', false);\r
-\r
-// CFG: ADMIN-SETUP\r
-define('admin_registered', false);\r
-\r
-// CFG: FRAMESET\r
-define('frameset_active', false);\r
-\r
-// CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)\r
-define('DEBUG_MODE', false);\r
-\r
-// When we are not installing\r
-if (!defined('mxchange_installing')) define('mxchange_installing', false);\r
-\r
-// Language stuff (default is german)\r
-require_once(PATH."inc/language.php");\r
-\r
-// We need general functions and database stuff here\r
-require_once(PATH."inc/functions.php");\r
-require_once(PATH."inc/mysql-manager.php");\r
-\r
-// Your MySQL data (we don't like M$ SQL ;-) )\r
-$MySQL = array(\r
-       // CFG: MYSQL-HOST\r
-       'host'     => "localhost",\r
-       // CFG: MYSQL-DBASE\r
-       'dbase'    => "db",\r
-       // CFG: MYSQL-LOGIN\r
-       'login'    => "user",\r
-       // CFG: MYSQL-PASSWORD\r
-       'password' => "pass",\r
-);\r
-\r
-// CFG: MYSQL-PREIFX\r
-define('_MYSQL_PREFIX', "mxchange");\r
-\r
-// CFG: DATABASE-TYPE\r
-define('_DB_TYPE', "mysql3");\r
-\r
-// Lead-Code data\r
-define('LEAD_CODE_ENABLED', true);\r
-define('LEAD_EXPIRY_TIME' , (30*24*60*60)); // == 30 days\r
-\r
-// SMTP-Subsystem (keep all empty to use legacy mail() command!)\r
-define('SMTP_HOSTNAME', "");\r
-define('SMTP_USER'    , "");\r
-define('SMTP_PASSWORD', "");\r
-\r
-// SSL cookies? (enable only if you have SSL, URLs will begin with https://)\r
-define('SSL_COOKIES', false);\r
-\r
-// CFG: BACKLINK (Enable backlink to mxchange.org in footer? rel=external is set!)\r
-define('ENABLE_BACKLINK', true);\r
-\r
-// Connect to the MySQL database...\r
-require_once(PATH."inc/mysql-connect.php");\r
-\r
-//\r
-?>\r
+<?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)                 *
+ * -------------------------------------------------------------------- *
+ *                                                                      *
+ * -------------------------------------------------------------------- *
+ * 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 <A href=\"http://www.mxchange.org\" target=\"_blank\" rel=\"external\" title=\"{!TITLE!} {!VERSION!}\">Roland H&auml;der</A>");
+
+// 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);
+
+// Language stuff (default is german)
+require_once(PATH."inc/language.php");
+
+// We need general functions and database stuff here
+require_once(PATH."inc/functions.php");
+require_once(PATH."inc/mysql-manager.php");
+
+// 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!)
+define('SMTP_HOSTNAME', "");
+define('SMTP_USER'    , "");
+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");
+
+//
+?>