• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How does an external page

Atakan KOC

Active member
How does an external page? How do I make a directory to another?


portal : /home/tenshi/public_html/
forum : /home/tenshi/public_html/forum/

I did the experiment but did not.


$startTime = microtime(true);
$fileDir = dirname(__FILE__).'/forum/';
$_REQUEST['tenshi-portal/'] = true;
require($fileDir . '/library/XenForo/Autoloader.php');
XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library');

XenForo_Application::initialize($fileDir . '/library', $fileDir);
XenForo_Application::set('page_start_time', $startTime);

$fc = new XenForo_FrontController(new XenForo_Dependencies_Public());