xenForo templates/styles in root directory

IcyRelic

Member
I am trying to make my entire site match and id like to make my website use xenforo styles, js, header, footer ect. I have tried kotomi but it doesnt work in the root directory it gets everything but it doesnt get the correct links for css, js, images. Is there anyway to fix this?

Here is the kotomi page
http://axiom-network.com/

Forum url
http://axiom-network.com/forum/

index.php
PHP:
<?php
$startTime = microtime(true);
$kotomi_indexFile = "./forum";
$kotomi_container = true;
$fileDir = dirname(__FILE__)."/{$kotomi_indexFile}";
require "{$fileDir}/library/Dark/Kotomi/KotomiHeader.php";
echo "
<html>
<head>
<title>kotomi test</title>
</head>
<body>
Hello world!
</body>
</html>";
require "{$fileDir}/library/Dark/Kotomi/KotomiFooter.php";
 
Top Bottom