2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Limesurvey to get template, mode and endurl from queXS when running in self complete mode

This commit is contained in:
Adam Zammit
2013-02-20 16:00:28 +11:00
parent bc56e10311
commit 8749df9a0c
3 changed files with 68 additions and 3 deletions

View File

@@ -21,6 +21,8 @@ require_once(dirname(__FILE__).'/classes/core/startup.php');
require_once(dirname(__FILE__).'/config-defaults.php');
require_once(dirname(__FILE__).'/common.php');
require_once(dirname(__FILE__).'/classes/core/language.php');
include_once("quexs.php");
@ini_set('session.gc_maxlifetime', $sessionlifetime);
$loadname=returnglobal('loadname');
@@ -541,7 +543,9 @@ if ($interviewer)
}
}
else
$thistpl=sGetTemplatePath('sherpa');
{
$thistpl=quexs_get_template($clienttoken);
}