* -------------------------------------------------------------------- *
* 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 *
define('VERSION', "v0.2.1");
define('AUTHOR' , "Roland Häder");
define('TITLE', "MXChange - Mail Exchange");
-define('COPY', "© 2003 - 2008, by <A href=\"http://www.mxchange.org\" target=\"_blank\" rel=\"external\" title=\"{!TITLE!} {!VERSION!}\">Roland Häder</A>");
+define('COPY', "© 2003 - 2008, by Roland Häder");
// CFG: ERROR_REPORTING
@error_reporting(0);
// 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);
// 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
// CFG: MYSQL-PREIFX
define('_MYSQL_PREFIX', "mxchange");
+// CFG: TABLE-TYPE
+define('_TABLE_TYPE', "MyISAM");
+
// CFG: DATABASE-TYPE
define('_DB_TYPE', "mysql3");
define('ENABLE_BACKLINK', true);
// Connect to the MySQL database...
-require_once(PATH."inc/mysql-connect.php");
+require(constant('PATH')."inc/mysql-connect.php");
//
?>