From 999042e7aa5c0e067717bb16e7604c0ef75a2d18 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Thu, 17 Nov 2011 12:11:17 +0000
Subject: [PATCH] Add Utilities::getBaseURL() to URL debug page.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2983 44740490-163a-0410-bde0-09ae8108e29a
---
 www/example-simple/hostnames.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/example-simple/hostnames.php b/www/example-simple/hostnames.php
index 655f1cb2b..87e5ca422 100644
--- a/www/example-simple/hostnames.php
+++ b/www/example-simple/hostnames.php
@@ -21,6 +21,7 @@ $attributes['HTTPS'] = array($_SERVER['HTTPS']);
 $attributes['SERVER_PROTOCOL'] = array($_SERVER['SERVER_PROTOCOL']);
 $attributes['SERVER_PORT'] = array($_SERVER['SERVER_PORT']);
 
+$attributes['Utilities_getBaseURL()'] = array(SimpleSAML_Utilities::getBaseURL());
 $attributes['Utilities_getSelfHost()'] = array(SimpleSAML_Utilities::getSelfHost());
 $attributes['Utilities_selfURLhost()'] = array(SimpleSAML_Utilities::selfURLhost());
 $attributes['Utilities_selfURLNoQuery()'] = array(SimpleSAML_Utilities::selfURLNoQuery());
-- 
GitLab