* -------------------------------------------------------------------- *
* Kurzbeschreibung : Ihre Konfigurationsdaten (MySQL) *
* -------------------------------------------------------------------- *
* -------------------------------------------------------------------- *
* Kurzbeschreibung : Ihre Konfigurationsdaten (MySQL) *
* -------------------------------------------------------------------- *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2008 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
* -------------------------------------------------------------------- *
* 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('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");
-// 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); }
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: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
//define('DEBUG_WEEKLY', true);
// CFG: DEBUG-WEEKLY (comment in to test weekly reset, comment out to not test)
//define('DEBUG_WEEKLY', true);
define('ENABLE_BACKLINK', true);
// Connect to the MySQL database...
define('ENABLE_BACKLINK', true);
// Connect to the MySQL database...