diff options
author | Olav Morken <olav.morken@uninett.no> | 2010-07-09 06:54:25 +0000 |
---|---|---|
committer | Olav Morken <olav.morken@uninett.no> | 2010-07-09 06:54:25 +0000 |
commit | 6f6ae34629637d7e4042e4282b44eb3ba8238aa2 (patch) | |
tree | 9298a890e40ca89129fcb4c5747b2cc5fe4a11d6 /lib/SimpleSAML/Module.php | |
parent | 725b94dcd19b0a09a4ba848a4791890774d63a3d (diff) | |
download | simplesamlphp-6f6ae34629637d7e4042e4282b44eb3ba8238aa2.zip simplesamlphp-6f6ae34629637d7e4042e4282b44eb3ba8238aa2.tar.gz simplesamlphp-6f6ae34629637d7e4042e4282b44eb3ba8238aa2.tar.bz2 |
Replace uses of utilities::selfURLhost() followed by config->getBaseURL with a call to utilities::getBaseURL().
git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2389 44740490-163a-0410-bde0-09ae8108e29a
Diffstat (limited to 'lib/SimpleSAML/Module.php')
-rw-r--r-- | lib/SimpleSAML/Module.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/SimpleSAML/Module.php b/lib/SimpleSAML/Module.php index f626bbd..3ae590d 100644 --- a/lib/SimpleSAML/Module.php +++ b/lib/SimpleSAML/Module.php @@ -143,8 +143,7 @@ class SimpleSAML_Module { assert('is_string($resource)'); assert('$resource[0] !== "/"'); - $config = SimpleSAML_Configuration::getInstance(); - $url = SimpleSAML_Utilities::selfURLhost() . '/' . $config->getBaseURL() . 'module.php/' . $resource; + $url = SimpleSAML_Utilities::getBaseURL() . 'module.php/' . $resource; if (!empty($parameters)) { $url = SimpleSAML_Utilities::addURLparameter($url, $parameters); } |