diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-24 22:22:17 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-24 22:22:17 (EDT) |
commit | c8857223bc45997300a73320d44556c14696698e (patch) | |
tree | 89b6520556a6186685406d00d0548ea0fb0ae959 | |
parent | 9020bf2b033fcf3413f163e7c429493255d59250 (diff) | |
download | www-c8857223bc45997300a73320d44556c14696698e.zip www-c8857223bc45997300a73320d44556c14696698e.tar.gz www-c8857223bc45997300a73320d44556c14696698e.tar.bz2 |
Set DOCUMENT_BASE if empty.
-rwxr-xr-x | includes/header.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/header.html b/includes/header.html index c3aea57..e0a0211 100755 --- a/includes/header.html +++ b/includes/header.html @@ -1,5 +1,17 @@ <!DOCTYPE html> +<!--#if expr="'$__SSIC__' eq '__SSIC__'" --> + <!-- Apache HTTPd mod_include --> + <!--#if expr="$DOCUMENT_BASE = ''" --> + <!--#set var="DOCUMENT_BASE" value="" --> + <!--#endif --> +<!--#else --> + <!-- Server Side Includes Compiler --> + <!--#if expr="'$DOCUMENT_BASE' eq ''" --> + <!--#set var="DOCUMENT_BASE" value="" --> + <!--#endif --> +<!--#endif --> + <html> <head> <meta charset="utf-8"> |