Skip to content

Commit

Permalink
Fixed issue: Add the loading of the email config to the frontend (tha…
Browse files Browse the repository at this point in the history
…nks pccrafter)

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12223 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Aaron Schmitz committed Jan 26, 2012
1 parent fdbba43 commit 4cc70ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/controllers/SurveyAction.php
Expand Up @@ -224,6 +224,7 @@ function action()
{
$list[]="<li class='surveytitle'>".$clang->gT("No available surveys")."</li>";
}
Yii::app()->loadConfig('email');
$surveylist=array(
"nosid"=>$clang->gT("You have not provided a survey identification number"),
"contact"=>sprintf($clang->gT("Please contact %s ( %s ) for further assistance."),Yii::app()->getConfig("siteadminname"),encodeEmail(Yii::app()->getConfig("siteadminemail"))),
Expand Down

0 comments on commit 4cc70ff

Please sign in to comment.