]> git.mxchange.org Git - mailer.git/blobdiff - inc/config.php
More XHTML-fied and extended header added to templates
[mailer.git] / inc / config.php
index 0d02f7041c7426417c2042982e076b3d6d50b906..57fc45099709fb5b6fb0563bde87209ee193cd3f 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Ihre Konfigurationsdaten (MySQL)                 *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * 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                  *
@@ -34,7 +39,7 @@
 // Some security stuff...
 if (!defined('__SECURITY'))
 {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4)."/security.php";
        require($INC);
 }
 
@@ -52,13 +57,13 @@ if (function_exists('date_default_timezone_set')) {
 define('VERSION', "v0.2.1");
 define('AUTHOR' , "Roland Hä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>");
+define('COPY', "&copy; 2003 - 2008, by Roland H&auml;der");
 
 // CFG: ERROR_REPORTING
 @error_reporting(0);
 
 // CFG: REGISTER-GLOBALS
-@import_request_variables("");
+@import_request_variables('');
 
 // CFG: SITE-KEY
 define('SITE_KEY', "gg42ny8-4yng23498-mf423igum-mtu248utn42-mf4839gun43");
@@ -84,10 +89,10 @@ 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']);
+// 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 = substr(dirname(__FILE__), 0, -3);
+$PATH = str_replace("\\", "/", substr(dirname(__FILE__), 0, -3));
 
 // CFG: HOST-URL (without trailing '/' !)
 define('URL', $URL);
@@ -99,32 +104,47 @@ define('PATH', $PATH);
 define('WEBMASTER', "you@some-hoster.tld.invalid");
 
 // CFG: INSTALLED
-define('mxchange_installed', true);
+define('mxchange_installed', false);
 
 // CFG: ADMIN-SETUP
-define('admin_registered', true);
+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);
+// 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'    => "mxchange3",
+       'dbase'    => "db",
        // CFG: MYSQL-LOGIN
-       'login'    => "root",
+       'login'    => "user",
        // CFG: MYSQL-PASSWORD
-       'password' => "Y4g31N6",
+       'password' => "pass",
 );
 
 // CFG: MYSQL-PREIFX
 define('_MYSQL_PREFIX', "mxchange");
 
+// CFG: TABLE-TYPE
+define('_TABLE_TYPE', "MyISAM");
+
 // CFG: DATABASE-TYPE
 define('_DB_TYPE', "mysql3");
 
@@ -136,7 +156,7 @@ define('LEAD_EXPIRY_TIME' , (30*24*60*60)); // == 30 days
 // CFG: SMTP-HOSTNAME
 define('SMTP_HOSTNAME', "");
 // CFG: SMTP-USER
-define('SMTP_USER', "");
+define('SMTP_USER'    , "");
 // CFG: SMTP-PASSWORD
 define('SMTP_PASSWORD', "");
 
@@ -147,7 +167,7 @@ define('SSL_COOKIES', false);
 define('ENABLE_BACKLINK', true);
 
 // Connect to the MySQL database...
-require_once(PATH."inc/mysql-connect.php");
+require(constant('PATH')."inc/mysql-connect.php");
 
 //
 ?>