]> git.mxchange.org Git - mailer.git/blobdiff - inc/config.php
Renamed
[mailer.git] / inc / config.php
index 5e6307bbd6ca4e426b69bab8c022228a141715c5..dfc866fb738637492467e72e92f173053a36bdc4 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Ihre Konfigurationsdaten (MySQL)                 *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $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                  *
@@ -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,7 +57,7 @@ if (function_exists('date_default_timezone_set')) {
 define('VERSION', "v0.2.1");
 define('AUTHOR' , "Roland Häder");
 define('TITLE', "MXChange - Mail Exchange");
-define('COPY', "© 2003 - 2008, by Roland Häder");
+define('COPY', "Copyright © 2003 - 2008, by Roland Häder");
 
 // CFG: ERROR_REPORTING
 @error_reporting(0);
@@ -85,9 +90,9 @@ define('MAIN_TITLE', "Your mail-exchanger title");
 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));
+$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);
@@ -122,9 +127,6 @@ define('DEBUG_MODE', false);
 // CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
 //define('DEBUG_WEEKLY', true);
 
-// 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
@@ -140,6 +142,9 @@ $MySQL = array(
 // CFG: MYSQL-PREIFX
 define('_MYSQL_PREFIX', "mxchange");
 
+// CFG: TABLE-TYPE
+define('_TABLE_TYPE', "MyISAM");
+
 // CFG: DATABASE-TYPE
 define('_DB_TYPE', "mysql3");
 
@@ -162,7 +167,7 @@ define('SSL_COOKIES', false);
 define('ENABLE_BACKLINK', true);
 
 // Connect to the MySQL database...
-require(PATH."inc/mysql-connect.php");
+require(constant('PATH')."inc/mysql-connect.php");
 
 //
 ?>