fix a typo in index.php

"Than" is a comparator.
"Then" is a connector between two or more sequential events.

"foo rather than bar" makes sense. "foo rather then bar" does not.

Change also made in develop.

(There is a minor conflict in some spacing of the next line; I'm not sure I have resolved it correctly or not, I'm still new to git).