05-13-2016, 04:29 PM
I installed userspice and got it all integrated to my site. But then I bought a new domain name and now my site doesn't load past core/init.php which looks like this:
I don't know much php, but that looks incomplete. What is init.php supposed to look like? How can I fix this.
Quote:<?php
session_start();
function env($type='server'){
if($type == 'server'){
if($_SERVER['HTTP_HOST'] == 'localhost'){
return $_SERVER['DOCUMENT_ROOT'].
I don't know much php, but that looks incomplete. What is init.php supposed to look like? How can I fix this.