From 85df4f1862d44f804e0ba7fb9cc6c93b996c8391 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 11 Aug 2011 17:32:42 +0000 Subject: [PATCH] No self-advertising in scripts/templates, please --- inc/config-global.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5