Skip to content

Commit

Permalink
Fixed issue: Registration confirmation wasn't properly using the righ…
Browse files Browse the repository at this point in the history
…t template path

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey@8053 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Dec 4, 2009
1 parent 4e1bd3a commit 97291b6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions register.php
Expand Up @@ -159,9 +159,8 @@
}

//PRINT COMPLETED PAGE
if (!$publicdir) {$publicdir=".";}
if (!$thissurvey['template']) {$thistpl="$publicdir/templates/default";} else {$thistpl="$publicdir/templates/{$thissurvey['template']}";}
if (!is_dir($thistpl)) {$thistpl="$publicdir/templates/default";}
if (!$thissurvey['template']) {$thistpl="$templaterootdir/default";} else {$thistpl="$templaterootdir/{$thissurvey['template']}";}
if (!is_dir($thistpl)) {$thistpl="$templaterootdir/default";}

sendcacheheaders();
doHeader();
Expand Down

0 comments on commit 97291b6

Please sign in to comment.