2
0
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:
azammitdcarf
2011-09-08 02:37:06 +00:00
parent 16065571f9
commit 1526fb4b67

View File

@@ -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;
} // }
} }
//****************************************************************************************************** //******************************************************************************************************