]> git.mxchange.org Git - mailer.git/commitdiff
Missing config.php re-added
authorRoland Häder <roland@mxchange.org>
Thu, 2 Oct 2008 16:39:48 +0000 (16:39 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 2 Oct 2008 16:39:48 +0000 (16:39 +0000)
.gitattributes
inc/config.php [new file with mode: 0644]
inc/databases.php

index ffa3832341f53b62fed7162e132f6d1dd78d76e8..9b5b3026332c2872d4a3a6919a58709f2fc14406 100644 (file)
@@ -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 (file)
index 0000000..897b03a
--- /dev/null
@@ -0,0 +1,156 @@
+<?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);
+
+// 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");
+
+//
+?>
index 99d0c01bbdc8a5f86d362a568b4ac2045e45ccc2..e79d6dd0a760be9e50817e53d4220bb1f9383753 100644 (file)
@@ -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);