From 3875f835e4d5400877477e1a90488f326aeb4aa5 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 18 May 2008 17:54:25 +0000 Subject: [PATCH] Add an alternate value for $web_domain git-svn-id: http://htmlpurifier.org/svnroot@1734 48356398-32a2-884e-a903-53898d9a118a --- xhtml-compiler/config.default.php | 1 + 1 file changed, 1 insertion(+) diff --git a/xhtml-compiler/config.default.php b/xhtml-compiler/config.default.php index 6b37ac5..c40ded2 100644 --- a/xhtml-compiler/config.default.php +++ b/xhtml-compiler/config.default.php @@ -43,6 +43,7 @@ $web_path = ''; // but it WILL NOT be set if you're calling XHTML Compiler from command // line unless you set it explicitly! if (isset($_SERVER['HTTP_HOST'])) $web_domain = $_SERVER['HTTP_HOST']; +else $web_domain = null; // ** URL of ViewVC installation // No trailing slash -- 2.11.4.GIT