Your LimeSurvey version: 2.05 Own server or LimeSurvey hosting: own
==================Hello,We are migrating to a new version of LS on a different server and would like to disable access to the standard links leading to the forms.I considered commenting the following lines in the
Code:
config/routes.php
file, but curiously, the changes only take effect in the local environment, not in production.
Code:
/*$route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>/tk-<_token:\w+>/*'] = "survey/index/sid/<_sid>/lang/<_lang>/token/<_token>"; // This rule must be the first $route['<_sid:\d+>/lang-<_lang:\w+[-\w]+>/*'] = "survey/index/sid/<_sid>/lang/<_lang>"; $route['<_sid:\d+>/tk-<_token:\w+>/*'] = "survey/index/sid/<_sid>/token/<_token>"; $route['<_sid:\d+>/*'] = "survey/index/sid/<_sid>"; $route['<sid:\d+>'] = array('survey/index','matchValue'=>true); */
Could you assist me with this issue?Thank you in advance.