]> git.mxchange.org Git - mailer.git/blobdiff - inc/config.php
Renamed
[mailer.git] / inc / config.php
index 3988d8648ba4f04da88e3ba46e5d261991f0dafd..dfc866fb738637492467e72e92f173053a36bdc4 100644 (file)
@@ -90,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);