From: Roland Häder Date: Thu, 11 Aug 2011 17:32:42 +0000 (+0000) Subject: No self-advertising in scripts/templates, please X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85df4f1862d44f804e0ba7fb9cc6c93b996c8391;p=mailer.git No self-advertising in scripts/templates, please --- diff --git a/inc/config-global.php b/inc/config-global.php index e67701d091..88b1ea5741 100644 --- a/inc/config-global.php +++ b/inc/config-global.php @@ -67,7 +67,7 @@ foreach (array('config', 'wrapper', 'template', 'module', 'inc', 'stats', 'http' // General functions include($path . 'inc/functions.php'); -// Auto-detection... (patched by "Stelzi" aka. profi-concept, thanks again!) +// Auto-detection of URL $URL = 'http://' . detectServerName() . str_replace("\\", '/', dirname($_SERVER['PHP_SELF'])); while (substr($URL, -1, 1) == '/') { $URL = substr($URL, 0, -1); }