Update index.php
Update index.php

 - Fixed session fixation vulnerability.
 - Fixed mixed content warning for NGINX servers.
 - Improved main URL function and added multiple string case checks for the HTTPS protocol and port forwarding.
robiso/wondercms