mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Always skip welcome screen - don't rely on settings
This commit is contained in:
@@ -84,13 +84,14 @@ if ($surveyexists <1)
|
|||||||
if (!$_SESSION['step'])
|
if (!$_SESSION['step'])
|
||||||
{
|
{
|
||||||
$totalquestions = buildsurveysession();
|
$totalquestions = buildsurveysession();
|
||||||
if(isset($thissurvey['showwelcome']) && $thissurvey['showwelcome'] == 'N') {
|
// queXS Addition - Always skip welcome screen
|
||||||
|
// if(isset($thissurvey['showwelcome']) && $thissurvey['showwelcome'] == 'N') {
|
||||||
//If explicitply set, hide the welcome screen
|
//If explicitply set, hide the welcome screen
|
||||||
$_SESSION['step'] = 1;
|
$_SESSION['step'] = 1;
|
||||||
} else {
|
// } else {
|
||||||
display_first_page();
|
// display_first_page();
|
||||||
exit;
|
// exit;
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
//******************************************************************************************************
|
//******************************************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user