Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

LimeSurvey 2.05 routes managiing

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 month 4 days ago #269553 by stevelegare
LimeSurvey 2.05 routes managiing was created by stevelegare
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.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Away
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
1 month 3 days ago #269560 by DenisChenu
Replied by DenisChenu on topic LimeSurvey 2.05 routes managiing
If you update core code, and in 2.05 : you clearly can do it.
Just update /application/controllers/survey/index.php
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: stevelegare

Please Log in to join the conversation.

  • stevelegare
  • stevelegare's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 month 3 days ago #269575 by stevelegare
Replied by stevelegare on topic LimeSurvey 2.05 routes managiing
Thanks

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose