emeneo / moodle-local_courselist

0 stars 0 forks source link

index.php redirect issue #2

Closed volodymyrdovhan closed 3 weeks ago

volodymyrdovhan commented 1 month ago

Hello,

please use the default moodle redirect() function for redirecting. I got an error when try accessing index.php page directly:

image

Flottertotte commented 1 month ago

Hi, thanks for reporting this. This problem is fixed. As the index file is not intended to be visited directly, it redirects to root in case it is. Now, only moodle functions are used and some security improvements have been added.