Will skip welcome screen for question by question

This commit is contained in:
azammitdcarf committed 2009-02-13 03:11:20 +00:00
1 parent 00f5c0a36d
commit 49bf38f5b9
2 files changed
+11 -6

No files matched your search

+3 -2
View File
@@ -71,7 +71,7 @@ if ($surveyexists <1)
if (!isset($_SESSION['step']) || !$_SESSION['step'])
{
$totalquestions = buildsurveysession();
sendcacheheaders();
/* sendcacheheaders();
doHeader();
echo templatereplace(file_get_contents("$thistpl/startpage.pstpl"));
@@ -96,7 +96,8 @@ if (!isset($_SESSION['step']) || !$_SESSION['step'])
echo "\n</form>\n";
echo templatereplace(file_get_contents("$thistpl/endpage.pstpl"));
doFooter();
exit;
exit;*/
$_SESSION['step'] = 1;
}
//******************************************************************************************************