From 143f10f591b7bff963ce16d2e627a5e51123f180 Mon Sep 17 00:00:00 2001 From: quix0r 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.2