- Posts: 5
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
My Code: /application/controllers/Statistics_userController.php: $whitelist = SurveyDynamic::model($iSurveyID)->findByAttributes(array("ipaddr"=>$_SERVER['REMOTE_ADDR'])); if ($surveyinfo['publicstatistics'] != 'Y' || (!$whitelist)) { throw new CHttpException(404, 'Las estadisticas para esta Encuesta no son públicas.'); }
You da man!All (or near all) my code are public