X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig.php;h=6c92a9142006c9669e8614f901c4ba1e1d79b79c;hb=4ba0d29f12dae79ebde25004a1df4155e0faf69c;hp=644925084c15df31741f7d77b89068b68cd9c988;hpb=09c13e4c494c7a9630679748524d94ffd2ce325c;p=mailer.git diff --git a/inc/config.php b/inc/config.php index 644925084c..6c92a91420 100644 --- a/inc/config.php +++ b/inc/config.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Ihre Konfigurationsdaten (MySQL) * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $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 * @@ -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', "© 2003 - 2008, by Roland Häder"); // CFG: ERROR_REPORTING @error_reporting(0); @@ -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); @@ -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_once(PATH."inc/mysql-connect.php"); +require(constant('PATH')."inc/mysql-connect.php"); // ?>