Chnaged index.php after example from github.com/moodlehq