Skip to content
Snippets Groups Projects
Commit 6088ddb1 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

SimpleSAMLphp discojuice module automatically sets entityid in discojuice...

SimpleSAMLphp discojuice module automatically sets entityid in discojuice config. Bumbing js cache ID to force new versions of js.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2842 44740490-163a-0410-bde0-09ae8108e29a
parent 67486abb
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ class sspmod_discojuice_EmbedHelper {
public static function head($includeJQuery = TRUE) {
$version = '0.1-3';
$version = '0.1-4';
$config = SimpleSAML_Configuration::getInstance();
$djconfig = SimpleSAML_Configuration::getOptionalConfig('discojuiceembed.php');
......
<?php
$version = '0.1-3';
$version = '0.1-4';
header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
......@@ -64,7 +64,14 @@ global $options;
global $returnidparam, $returnto;
$options = $this->data['discojuice.options'];
// echo '<pre>opts';
if (!empty($_REQUEST['entityID'])) {
if (!array_key_exists('disco', $options)) {
$options['disco'] = array();
}
$options['disco']['spentityid'] = $_REQUEST['entityID'];
}
// echo '</script><pre>opts';
// print_r($options);
// exit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment