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'])
|
||||
{
|
||||
$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
|
||||
$_SESSION['step'] = 1;
|
||||
} else {
|
||||
display_first_page();
|
||||
exit;
|
||||
}
|
||||
// } else {
|
||||
// display_first_page();
|
||||
// exit;
|
||||
// }
|
||||
}
|
||||
|
||||
//******************************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user